MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / temp_extract_container_name

Function temp_extract_container_name

crates/openshell-driver-docker/src/lib.rs:3384–3390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3382}
3383
3384fn 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
3392fn canonicalize_existing_file(path: &Path, description: &str) -> CoreResult<PathBuf> {
3393 if !path.is_file() {

Calls

no outgoing calls