MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / stdio_to_str

Function stdio_to_str

crates/hyperqueue/src/client/output/cli.rs:1214–1220  ·  view source on GitHub ↗
(stdio: &StdioDef)

Source from the content-addressed store, hash-verified

1212}
1213
1214fn stdio_to_str(stdio: &StdioDef) -> &str {
1215 match stdio {
1216 StdioDef::Null => "<None>",
1217 StdioDef::File { path, .. } => path.to_str().unwrap(),
1218 StdioDef::Pipe => "<Stream>",
1219 }
1220}
1221
1222// Allocation
1223fn allocation_status_to_cell(status: &AllocationState) -> CellStruct {

Callers 1

format_task_pathsFunction · 0.85

Calls 1

to_strMethod · 0.80

Tested by

no test coverage detected