Port new workspace logic to gpui2, uncomment most of the workspace2 tests

This commit is contained in:
Kirill Bulatov 2023-11-17 22:54:19 +02:00
parent 616bda85e9
commit d352a63d9d
9 changed files with 2684 additions and 2267 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,