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

Method drop

atomic-cli/src/commands/tag/create.rs:429–431  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

427
428 impl Drop for DirGuard {
429 fn drop(&mut self) {
430 let _ = std::env::set_current_dir(&self.original);
431 }
432 }
433
434 // -------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected