pub struct Ignore { /* private fields */ }
Expand description
State related to the exclusion of files.
Implementations§
source§impl Ignore
impl Ignore
sourcepub fn new(
overrides: MatchGroup<Ignore>,
globals: MatchGroup<Ignore>,
exclude_file_name_for_directories: Option<&BStr>,
case: Case
) -> Ignore
pub fn new( overrides: MatchGroup<Ignore>, globals: MatchGroup<Ignore>, exclude_file_name_for_directories: Option<&BStr>, case: Case ) -> Ignore
The exclude_file_name_for_directories
is an optional override for the filename to use when checking per-directory
ignore files within the repository, defaults to.gitignore
.