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

Method validate_version

atomic-repository/src/record/move_evidence.rs:233–239  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

231 }
232
233 fn validate_version(&self) -> Result<(), MoveEvidenceError> {
234 if self.version == MOVE_EVIDENCE_VERSION {
235 Ok(())
236 } else {
237 Err(MoveEvidenceError::UnsupportedVersion(self.version))
238 }
239 }
240}
241
242/// Errors reading or writing typed move evidence.

Callers 2

merge_move_evidenceFunction · 0.80
extract_move_evidenceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected