Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitIgnoreMarkedFS ¶ added in v0.19.11
NewGitIgnoreMarkedFS creates a new FS that marks gitignored paths in Stat.GitIgnored. The returned FS still walks the full tree (to preserve negation semantics), but it leaves filtering decisions to the consumer.
Types ¶
type GitignoreMatcher ¶
type GitignoreMatcher struct {
// contains filtered or unexported fields
}
func NewGitIgnoreMatcher ¶
func NewGitIgnoreMatcher(fs fsutil.FS) *GitignoreMatcher
NewGitIgnoreMatcher creates a new GitignoreMatcher for the given FS
Click to show internal directories.
Click to hide internal directories.