MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / build_container_name

Method build_container_name

src/docker/mod.rs:368–374  ·  view source on GitHub ↗

Generate container name based on task mode

(&self, task: &crate::task::Task)

Source from the content-addressed store, hash-verified

366
367 /// Generate container name based on task mode
368 fn build_container_name(&self, task: &crate::task::Task) -> String {
369 if task.is_interactive {
370 format!("tsk-interactive-{}", task.id)
371 } else {
372 format!("tsk-{}", task.id)
373 }
374 }
375
376 /// Create a container configuration for both interactive and non-interactive modes.
377 ///

Callers 1

run_container_innerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected