Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ drop
Method
drop
atomic-cli/src/commands/add.rs:910–912 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
908
909
impl Drop for DirGuard {
910
fn drop(&mut self) {
911
let _ = std::env::set_current_dir(&self.original);
912
}
913
}
914
915
#[test]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected