Move the fs module out of worktree

This commit is contained in:
Max Brunsfeld
2021-07-13 15:40:11 -07:00
parent dcae4747b0
commit 7260442d42
9 changed files with 19 additions and 14 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
mod char_bag;
mod fs;
mod fuzzy;
mod ignore;
use self::{char_bag::CharBag, ignore::IgnoreStack};
use crate::{
editor::{self, Buffer, History, Operation, Rope},
fs::{self, Fs},
language::LanguageRegistry,
rpc::{self, proto},
sum_tree::{self, Cursor, Edit, SumTree},
@@ -14,7 +14,6 @@ use crate::{
};
use ::ignore::gitignore::Gitignore;
use anyhow::{anyhow, Result};
pub use fs::*;
use futures::{Stream, StreamExt};
pub use fuzzy::{match_paths, PathMatch};
use gpui::{
@@ -2571,6 +2570,7 @@ mod tests {
use super::*;
use crate::test::*;
use anyhow::Result;
use fs::RealFs;
use rand::prelude::*;
use serde_json::json;
use std::time::UNIX_EPOCH;