Available on crate feature
attributes
only.Expand description
Utilities for searching matches of paths to patterns.
Please note that these are specific to how both excludes and attributes are searched, and this is merely a way to share code among them.
Modules§
Traits§
- A trait to convert bytes into patterns and their associated value.
Functions§
- Add the given file at
source
if it exists, otherwise do nothing. If aroot
is provided, it’s not considered a global file anymore. Returnstrue
if the file was added, orfalse
if it didn’t exist.