()
| 1211 | |
| 1212 | impl DirGuard { |
| 1213 | fn new() -> Self { |
| 1214 | Self { |
| 1215 | original: std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/")), |
| 1216 | } |
| 1217 | } |
| 1218 | } |
| 1219 | |
| 1220 | impl Drop for DirGuard { |
nothing calls this directly
no outgoing calls
no test coverage detected