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

Function check_pristine

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

Source from the content-addressed store, hash-verified

570 }
571
572 fn check_pristine() -> RecordResult<()> {
573 Err(PristineError::ViewNotFound {
574 name: "main".into(),
575 })?
576 }
577
578 assert!(matches!(read_file(), Err(RecordError::Io(_))));
579 assert!(matches!(check_pristine(), Err(RecordError::Pristine(_))));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected