MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / drop

Method drop

atomic-cli/tests/it/git_shim_cb10a_test.rs:1505–1507  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1503 struct CleanupWorktree(std::path::PathBuf);
1504 impl Drop for CleanupWorktree {
1505 fn drop(&mut self) {
1506 let _ = std::fs::remove_dir_all(&self.0);
1507 }
1508 }
1509 let _cleanup = CleanupWorktree(linked_root.clone());
1510 assert!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected