Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IgnoreSet ¶
type IgnoreSet struct {
// contains filtered or unexported fields
}
IgnoreSet wraps a gogitignore.Tree. The walker calls ensureNode for each directory it visits; the Tree internally keeps per-dir matchers so match() only iterates patterns from the path's ancestor chain.
func NewIgnoreSet ¶
func (*IgnoreSet) EnsureNode ¶
EnsureNode loads relDir's .gitignore/.ignore (if any) into the tree. Called once per directory by the walker.
Click to show internal directories.
Click to hide internal directories.