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

Method drop

atomic-cli/src/commands/view/new.rs:525–527  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

523
524 impl Drop for DirGuard {
525 fn drop(&mut self) {
526 let _ = std::env::set_current_dir(&self.original);
527 }
528 }
529
530 // -------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected