Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldSkipFunc ¶
ShouldSkipFunc returns a function that reports whether a path should be skipped based on the ignore file found relative to root. If root is a file rather than a directory, its parent directory is used. The returned function accepts both absolute and relative paths; absolute paths are converted to relative paths before matching. If the ignore file does not exist, the returned function always returns false.
Types ¶
Click to show internal directories.
Click to hide internal directories.