Crate ignore_files

source ·
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§

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.