package dockerignore

import "github.com/docker/docker/builder/dockerignore"

Index

Functions

func ReadAll

func ReadAll(reader io.ReadCloser) ([]string, error)

ReadAll reads a .dockerignore file and returns the list of file patterns to ignore. Note this will trim whitespace from each line as well as use GO's "clean" func to get the shortest/cleanest path for each.

Source Files

dockerignore.go

Version
v1.10.0
Published
Feb 4, 2016
Platform
js/wasm
Imports
5 packages
Last checked
44 minutes ago

Tools for package owners.