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

Function read_change

atomic-core/src/apply/error.rs:805–810  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803 #[test]
804 fn question_mark_chains_io_through_apply() {
805 fn read_change() -> ApplyResult<Vec<u8>> {
806 Err(std::io::Error::new(
807 std::io::ErrorKind::NotFound,
808 "no such file",
809 ))?
810 }
811
812 assert!(matches!(read_change(), Err(ApplyError::Io(_))));
813 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected