(&mut self)
| 291 | |
| 292 | impl Drop for HomeGuard { |
| 293 | fn drop(&mut self) { |
| 294 | // SAFETY: see HomeGuard::new. |
| 295 | unsafe { |
| 296 | match &self.original { |
| 297 | Some(v) => std::env::set_var("ATOMIC_CONFIG_DIR", v), |
| 298 | None => std::env::remove_var("ATOMIC_CONFIG_DIR"), |
| 299 | } |
| 300 | } |
| 301 | } |
| 302 | } |
| 303 | |
| 304 | fn seed_config(default_org: &str, existing_workspace: Option<(&str, &str)>) { |
nothing calls this directly
no outgoing calls
no test coverage detected