Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsModify ¶
IsModify checks if any file in dir has been modified after lastMod. patterns should be pre-built by the caller (e.g. via ReadGitignore) and cached across calls to avoid repeated file I/O on every poll.
func ReadGitignore ¶
ReadGitignore returns simple glob patterns from .gitignore in the given directory. Lines starting with # and empty lines are ignored. Note: only simple glob patterns (e.g. *.log, vendor) are supported.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.