MCPcopy Create free account
hub / github.com/Recordscript/recordscript / remove_file

Function remove_file

libs/hbb_common/src/fs.rs:830–833  ·  view source on GitHub ↗
(file: &str)

Source from the content-addressed store, hash-verified

828
829#[inline]
830pub fn remove_file(file: &str) -> ResultType<()> {
831 std::fs::remove_file(get_path(file))?;
832 Ok(())
833}
834
835#[inline]
836pub fn create_dir(dir: &str) -> ResultType<()> {

Callers 5

dropMethod · 0.85
removeMethod · 0.85
peersMethod · 0.85
remove_download_fileMethod · 0.85
remove_all_empty_dirFunction · 0.85

Calls 1

get_pathFunction · 0.85

Tested by

no test coverage detected