Move the fs module out of worktree

This commit is contained in:
Max Brunsfeld 2021-07-13 15:37:30 -07:00
parent dcae4747b0
commit 7260442d42
9 changed files with 19 additions and 14 deletions

View file

@ -3,10 +3,11 @@ pub mod pane_group;
use crate::{
editor::{Buffer, Editor},
fs::Fs,
language::LanguageRegistry,
rpc,
settings::Settings,
worktree::{File, Fs, Worktree},
worktree::{File, Worktree},
AppState,
};
use anyhow::{anyhow, Result};
@ -921,8 +922,9 @@ mod tests {
use super::*;
use crate::{
editor::Editor,
fs::FakeFs,
test::{build_app_state, temp_tree},
worktree::{FakeFs, WorktreeHandle},
worktree::WorktreeHandle,
};
use serde_json::json;
use std::{collections::HashSet, fs};