Package sourceignore applies project .gitignore files to build inputs and watches.
It intentionally reads neither the Git index nor machine-specific exclude files.
type Matcher interface {
Match(parts []string, directory bool) bool}
Matcher reports exclusions for paths split into project-relative components.
Once a parent directory is excluded, child negations cannot include its files.