Registry / utility / ignore-files

ignore-files

JSON →
library3.0.5rscratesunverified

Find, parse, and interpret ignore files like .gitignore.

# Cargo.toml [dependencies] ignore-files = "3.0.5"
INSTALL
IMPORT
SIG · IGNORE-FILES
I
ignore-files
utilityrustv3.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ignore
use ignore_files::Ignore;

Parse a .gitignore file and list its patterns.

use ignore_files::Ignore; fn main() -> Result<(), Box<dyn std::error::Error>> { let ignore = Ignore::new(".gitignore")?; println!("Parsed {} patterns", ignore.patterns().len()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.5latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ignore-files — cargo add ignore-files · libregistry