Expand description
Find, parse, and interpret ignore files.
Ignore files are files that contain ignore patterns, often following the .gitignore
format.
There may be one or more global ignore files, which apply everywhere, and one or more per-folder
ignore files, which apply to a specific folder and its subfolders. Furthermore, there may be
more ignore files in these subfolders, and so on. Discovering and interpreting all of these in
a single context is not a simple task: this is what this crate provides.
Structs§
- An ignore file.
- Arguments for finding ignored files in a given directory and subdirectories
- A mutable filter dedicated to ignore files and trees of ignore files.
Enums§
Functions§
- Utility function to handle looking for an ignore file and adding it to a list if found.
- Finds all ignore files that apply to the current runtime.
- Finds all ignore files in the given directory and subdirectories.