Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("Not Found")
)
Functions ¶
func FindGitignore ¶
getIgnore attempts to find and parse a .gitignore file recursively. It searches for the .gitignore file starting from the given path and traversing up the directory tree. It returns a pointer to the parsed ignore.GitIgnore object if found, otherwise nil.
Types ¶
type Filesystem ¶
type Filesystem struct{}
func (Filesystem) Ignore ¶
func (f Filesystem) Ignore(name string) bool
Click to show internal directories.
Click to hide internal directories.