Documentation ¶
Index ¶
Constants ¶
View Source
const HelmIgnore = ".helmignore"
HelmIgnore default name of an ignorefile.
Variables ¶
This section is empty.
Functions ¶
func Walk ¶
Walk walks the file tree rooted at root, calling walkFn for each file or directory in the tree, including root. All errors that arise visiting files and directories are filtered by walkFn. The files are walked in lexical order, which makes the output deterministic but means that for very large directories Walk can be inefficient. Walk follows symbolic links.
Types ¶
type Rules ¶
type Rules struct {
// contains filtered or unexported fields
}
Rules is a collection of path matching rules.
Parse() and ParseFile() will construct and populate new Rules. Empty() will create an immutable empty ruleset.
func (*Rules) AddDefaults ¶
func (r *Rules) AddDefaults()
AddDefaults adds default ignore patterns.
Ignore all dotfiles in "templates/"
Click to show internal directories.
Click to hide internal directories.