memofs: Update fs-err and use it more

This commit is contained in:
Lucien Greathouse
2020-03-18 18:06:58 -07:00
parent c1286db9c1
commit 28ddf40344
3 changed files with 7 additions and 7 deletions

View File

@@ -78,11 +78,11 @@ impl VfsBackend for StdBackend {
}
fn remove_file(&mut self, path: &Path) -> io::Result<()> {
fs::remove_file(path)
fs_err::remove_file(path)
}
fn remove_dir_all(&mut self, path: &Path) -> io::Result<()> {
fs::remove_dir_all(path)
fs_err::remove_dir_all(path)
}
fn metadata(&mut self, path: &Path) -> io::Result<Metadata> {