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

Method drop

atomic-cli/src/commands/clone/helpers.rs:297–302  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

295
296impl Drop for CleanupGuard {
297 fn drop(&mut self) {
298 if self.enabled && self.path.exists() {
299 // Best effort cleanup - ignore errors
300 let _ = std::fs::remove_dir_all(&self.path);
301 }
302 }
303}
304
305/// Explicit bootstrap boundary for the clone transport phase.

Callers

nothing calls this directly

Calls 1

existsMethod · 0.45

Tested by

no test coverage detected