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

Method set_change_source_verification

atomic-repository/src/status.rs:523–531  ·  view source on GitHub ↗
(
        &mut self,
        root: crate::change_source::VerifiedCandidateRoot,
        metrics: crate::change_source::ChangeSourceMetrics,
    )

Source from the content-addressed store, hash-verified

521 }
522
523 pub(crate) fn set_change_source_verification(
524 &mut self,
525 root: crate::change_source::VerifiedCandidateRoot,
526 metrics: crate::change_source::ChangeSourceMetrics,
527 ) {
528 self.verified_candidate_root = Some(root);
529 self.change_source_fallback = metrics.fallback_reason.clone();
530 self.change_source_metrics = Some(metrics);
531 }
532
533 /// Number of tracked files that were reported as Modified only because
534 /// their FILE_INDEX entry was missing. When non-zero, running

Callers 1

status_innerMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected