fn modified_time(&self, file: &str) -> Result<std::time::SystemTime, Self::Error> {
unimplemented!("modified_time")
}
}
impl WorkingCopy for FakeWorkingCopy {
fn create_dir_all(&self, path: &str) -> Result<(), Self::Error> {
unimplemented!("create_dir_all")
}
fn remove_path(&self, name: &str, rec: bool) -> Result<(), Self::Error> {
unimplemented!("remove_path")
}
fn rename(&self, former: &str, new: &str) -> Result<(), Self::Error> {
unimplemented!("rename")
}
fn set_permissions(&self, name: &str, permissions: u16) -> Result<(), Self::Error> {
unimplemented!("set_permissions")
}
type Writer = std::io::Sink;
fn write_file(&self, file: &str, inode: Inode) -> Result<Self::Writer, Self::Error> {
Ok(std::io::sink())
}
}