(&mut self)
| 266 | |
| 267 | impl Drop for HomeGuard { |
| 268 | fn drop(&mut self) { |
| 269 | // SAFETY: see HomeGuard::new. |
| 270 | unsafe { |
| 271 | match &self.original { |
| 272 | Some(v) => std::env::set_var("ATOMIC_CONFIG_DIR", v), |
| 273 | None => std::env::remove_var("ATOMIC_CONFIG_DIR"), |
| 274 | } |
| 275 | } |
| 276 | } |
| 277 | } |
| 278 | |
| 279 | fn seed_config(default_org: &str) { |
nothing calls this directly
no outgoing calls
no test coverage detected