()
| 3382 | } |
| 3383 | |
| 3384 | fn temp_extract_container_name() -> String { |
| 3385 | use std::sync::atomic::{AtomicU64, Ordering}; |
| 3386 | static SEQ: AtomicU64 = AtomicU64::new(0); |
| 3387 | let pid = std::process::id(); |
| 3388 | let seq = SEQ.fetch_add(1, Ordering::Relaxed); |
| 3389 | format!("openshell-supervisor-extract-{pid}-{seq}") |
| 3390 | } |
| 3391 | |
| 3392 | fn canonicalize_existing_file(path: &Path, description: &str) -> CoreResult<PathBuf> { |
| 3393 | if !path.is_file() { |
no outgoing calls