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

Function read_content

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

Source from the content-addressed store, hash-verified

450 #[test]
451 fn io_chains_through_content_to_output() {
452 fn read_content() -> ContentResult<Vec<u8>> {
453 Err(std::io::Error::new(std::io::ErrorKind::NotFound, "gone"))?
454 }
455
456 fn output_file() -> OutputResult<Vec<u8>> {
457 Ok(read_content()?)

Callers 2

runMethod · 0.85
output_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected