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

Method is_empty

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

Source from the content-addressed store, hash-verified

210 /// Whether the payload contains no move or loss evidence.
211 #[must_use]
212 pub fn is_empty(&self) -> bool {
213 self.authoritative_moves.is_empty()
214 && self.probable_moves.is_empty()
215 && self.loss_notes.is_empty()
216 }
217
218 /// Add authoritative evidence.
219 pub fn insert_authoritative(&mut self, evidence: AuthoritativeMove) -> bool {

Callers 4

has_provenanceMethod · 0.45
should_includeMethod · 0.45
has_errorsMethod · 0.45
build_headerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected