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

Method drop

atomic-cli/src/commands/view/switch.rs:354–356  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

352
353 impl Drop for DirGuard {
354 fn drop(&mut self) {
355 let _ = std::env::set_current_dir(&self.original);
356 }
357 }
358
359 fn git_ok(root: &std::path::Path, args: &[&str]) -> String {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected