Module gix::pathspec::attributes::glob::search

source ·
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 a root is provided, it’s not considered a global file anymore. Returns true if the file was added, or false if it didn’t exist.