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

Method drop

atomic-cli/src/commands/tag/show.rs:344–346  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

342
343 impl Drop for DirGuard {
344 fn drop(&mut self) {
345 let _ = std::env::set_current_dir(&self.original);
346 }
347 }
348
349 // -------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected