Expand description
.cadvmignore support: a small, dependency-free pattern matcher.
The file lives at the repository root, one pattern per line. Syntax is a deliberately small subset of the usual ignore-file conventions:
- blank lines and lines starting with
#are ignored; *matches any run of characters,?matches a single character;- a pattern ending in
/matches a directory and everything beneath it; - a pattern containing
/is matched against the whole repo-relative path, otherwise it is matched against the file name only; - a leading
/anchors the pattern to the repository root.
The .cadvm directory is always ignored, independently of this file.
Structs§
- Ignore
List - A compiled set of ignore patterns.
Constants§
- IGNORE_
FILE - Name of the ignore file at the repository root.