rust/hg-core/src/matchers.rs
changeset 52300 04b9a56c2d25
parent 52109 b2e90465daf6
child 52302 f33b87b46135
equal deleted inserted replaced
52299:b422acba55f1 52300:04b9a56c2d25
     9 
     9 
    10 use format_bytes::format_bytes;
    10 use format_bytes::format_bytes;
    11 use once_cell::sync::OnceCell;
    11 use once_cell::sync::OnceCell;
    12 
    12 
    13 use crate::{
    13 use crate::{
    14     dirstate::dirs_multiset::DirsChildrenMultiset,
    14     dirstate::dirs_multiset::{DirsChildrenMultiset, DirsMultiset},
    15     filepatterns::{
    15     filepatterns::{
    16         build_single_regex, filter_subincludes, get_patterns_from_file,
    16         build_single_regex, filter_subincludes, get_patterns_from_file,
    17         PatternFileWarning, PatternResult,
    17         PatternFileWarning, PatternResult,
    18     },
    18     },
    19     utils::{
    19     utils::{
    20         files::{dir_ancestors, find_dirs},
    20         files::{dir_ancestors, find_dirs},
    21         hg_path::{HgPath, HgPathBuf, HgPathError},
    21         hg_path::{HgPath, HgPathBuf, HgPathError},
    22         Escaped,
    22         Escaped,
    23     },
    23     },
    24     DirsMultiset, FastHashMap, IgnorePattern, PatternError, PatternSyntax,
    24     FastHashMap, IgnorePattern, PatternError, PatternSyntax,
    25 };
    25 };
    26 
    26 
    27 use crate::dirstate::status::IgnoreFnType;
    27 use crate::dirstate::status::IgnoreFnType;
    28 use crate::filepatterns::normalize_path_bytes;
    28 use crate::filepatterns::normalize_path_bytes;
    29 use std::collections::HashSet;
    29 use std::collections::HashSet;