Fix: FileAbstraction::remove_file(): Add implementation
This commit is contained in:
parent
babf74e1e5
commit
61201082c8
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ mod fs {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn remove_file(_: &PathBuf) -> Result<(), SE> {
|
pub fn remove_file(path: &PathBuf) -> Result<(), SE> {
|
||||||
|
MAP.lock().unwrap().remove(path);
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue