Mark observed Git operations as attested (idempotent).
(&mut self, operations: &[String])
| 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 | /// |