Expand description
The path patterns of ignore and track.
A pattern is a path, a glob, or a regular expression prefixed with re:, and it
is matched against absolute paths:
re:patterns are regular expressions that match anywhere in the path unless they are anchored with^and$.- Any other pattern with a glob character (
*,?,[, or{) is a glob, in which*and?stay within one path component and**crosses components. - Every other pattern is a path, which matches exactly that path.
A relative path or glob is anchored at the task directory, and a leading ~/
means the caller’s home directory. Paths are normalized as the tracer reports
them, so a/./b and a//b match a/b.
Structs§
- Path
Patterns - A set of
ignoreortrackpatterns, ready to match absolute paths.
Enums§
- Pattern
Error - A pattern that cannot be used.
Constants§
- REGEX_
PREFIX - The prefix of a regular-expression pattern.