MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / clear_restored_package_dirs

Function clear_restored_package_dirs

tools/regen/src/csharp.rs:111–117  ·  view source on GitHub ↗
(pkg_id: &str)

Source from the content-addressed store, hash-verified

109}
110
111fn clear_restored_package_dirs(pkg_id: &str) -> Result<()> {
112 let pkg_root = sdk_dir().join("packages").join(pkg_id);
113 if pkg_root.exists() {
114 fs::remove_dir_all(&pkg_root)?;
115 }
116 Ok(())
117}
118
119fn clear_godot_regen_dir() -> Result<()> {
120 let godot_obj_dir = sdk_dir().join("obj~/godot");

Callers 1

regen_dllsFunction · 0.85

Calls 3

sdk_dirFunction · 0.85
joinMethod · 0.80
OkFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…