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

Method remove

libs/hbb_common/src/config.rs:1150–1152  ·  view source on GitHub ↗
(id: &str)

Source from the content-addressed store, hash-verified

1148 }
1149
1150 pub fn remove(id: &str) {
1151 fs::remove_file(Self::path(id)).ok();
1152 }
1153
1154 fn path(id: &str) -> PathBuf {
1155 //If the id contains invalid chars, encode it

Callers 9

primaryMethod · 0.80
allMethod · 0.80
updateMethod · 0.80
mainFunction · 0.80
get_displayFunction · 0.80
get_displayFunction · 0.80
set_optionMethod · 0.80
set_flutter_optionMethod · 0.80
setMethod · 0.80

Calls 1

remove_fileFunction · 0.85

Tested by

no test coverage detected