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

Function read_file

atomic-core/src/record/error.rs:568–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

566 #[test]
567 fn question_mark_propagates_io_and_pristine() {
568 fn read_file() -> RecordResult<Vec<u8>> {
569 Err(std::io::Error::new(std::io::ErrorKind::NotFound, "gone"))?
570 }
571
572 fn check_pristine() -> RecordResult<()> {
573 Err(PristineError::ViewNotFound {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected