Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DockerIgnoreFile defines the Name of the scanner file
DockerIgnoreFile = ".dockerignore"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryScanner ¶
type DirectoryScanner interface { // Scan checks file has to be ignored or not, returns true if it needs to be ignored Scan() ([]string, error) }
DirectoryScanner helps identifying if a BundleFile needs to be ignored
func NewOrDefault ¶
func NewOrDefault(dir string) (DirectoryScanner, error)
NewOrDefault builds and returns the new or default DirectoryScanner interface In all file not found cases the this wil return the default ignorer
Click to show internal directories.
Click to hide internal directories.