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

Method mark_operations_attested

atomic-agent/src/turn/session.rs:568–574  ·  view source on GitHub ↗

Mark observed Git operations as attested (idempotent).

(&mut self, operations: &[String])

Source from the content-addressed store, hash-verified

566
567 /// Mark observed Git operations as attested (idempotent).
568 pub fn mark_operations_attested(&mut self, operations: &[String]) {
569 for operation in operations {
570 if !self.attested_operations.contains(operation) {
571 self.attested_operations.push(operation.clone());
572 }
573 }
574 }
575
576 /// The per-session MAC key, creating it on first use.
577 ///

Callers 1

Calls 3

containsMethod · 0.45
pushMethod · 0.45
cloneMethod · 0.45

Tested by 1