Scan all ignored files by default now

This commit is contained in:
Kirill Bulatov 2023-11-13 22:40:21 +02:00
parent 401f85bed2
commit 126e4cce8f
4 changed files with 26 additions and 69 deletions

View file

@ -20,10 +20,6 @@ impl IgnoreStack {
Arc::new(Self::All)
}
pub fn is_all(&self) -> bool {
matches!(self, IgnoreStack::All)
}
pub fn append(self: Arc<Self>, abs_base_path: Arc<Path>, ignore: Arc<Gitignore>) -> Arc<Self> {
match self.as_ref() {
IgnoreStack::All => self,