Rescan worktree on scan exclusions settings change
This commit is contained in:
parent
1612c90052
commit
9373d38434
3 changed files with 136 additions and 66 deletions
|
@ -202,6 +202,14 @@ impl std::fmt::Display for PathMatcher {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq for PathMatcher {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.maybe_path.eq(&other.maybe_path)
|
||||
}
|
||||
}
|
||||
|
||||
impl Eq for PathMatcher {}
|
||||
|
||||
impl PathMatcher {
|
||||
pub fn new(maybe_glob: &str) -> Result<Self, globset::Error> {
|
||||
Ok(PathMatcher {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue