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

Class RestoreDirectory

atomic-cli/src/commands/git/stream.rs:2577–2577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2575 fn incremental_span_private_stage_accepts_real_cli_bootstrap() {
2576 use crate::commands::Command;
2577 struct RestoreDirectory(std::path::PathBuf);
2578 impl Drop for RestoreDirectory {
2579 fn drop(&mut self) {
2580 std::env::set_current_dir(&self.0).unwrap();

Calls

no outgoing calls

Tested by

no test coverage detected