mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
memofs: Update fs-err and use it more
This commit is contained in:
parent
c1286db9c1
commit
28ddf40344
3 changed files with 7 additions and 7 deletions
|
|
@ -12,5 +12,5 @@ homepage = "https://github.com/rojo-rbx/rojo/tree/master/memofs"
|
|||
|
||||
[dependencies]
|
||||
crossbeam-channel = "0.4.0"
|
||||
fs-err = "2.2.0"
|
||||
fs-err = "2.3.0"
|
||||
notify = "4.0.15"
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue