pub trait FileSystem: Send + Sync {
// Required methods
fn read_file(&self, path: &Path) -> Result<Vec<u8>>;
fn read_dir(&self, path: &Path) -> Result<Vec<DirEntry>>;
fn exists(&self, path: &Path) -> bool;
}pub trait FileSystem: Send + Sync {
// Required methods
fn read_file(&self, path: &Path) -> Result<Vec<u8>>;
fn read_dir(&self, path: &Path) -> Result<Vec<DirEntry>>;
fn exists(&self, path: &Path) -> bool;
}