()
| 155 | |
| 156 | impl DirGuard { |
| 157 | fn new() -> Self { |
| 158 | Self { |
| 159 | original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")), |
| 160 | } |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | impl Drop for DirGuard { |
nothing calls this directly
no outgoing calls
no test coverage detected