MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / output_file

Function output_file

atomic-core/src/output/error.rs:456–458  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

454 }
455
456 fn output_file() -> OutputResult<Vec<u8>> {
457 Ok(read_content()?)
458 }
459
460 // The IO error must survive two ? hops without being swallowed.
461 assert!(matches!(output_file(), Err(OutputError::Io(_))));

Callers

nothing calls this directly

Calls 1

read_contentFunction · 0.85

Tested by

no test coverage detected