| 84 | /// ``` |
| 85 | #[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)] |
| 86 | pub struct ApplyStats { |
| 87 | // Trunk (file) operations |
| 88 | trunks_created: u64, |
| 89 | trunks_deleted: u64, |
| 90 | trunks_moved: u64, |
| 91 | trunks_undeleted: u64, |
| 92 | |
| 93 | // Branch (line) operations |
| 94 | branches_inserted: u64, |
| 95 | branches_deleted: u64, |
| 96 | branches_restored: u64, |
| 97 | |
| 98 | // Leaf (token) operations |
| 99 | leaves_inserted: u64, |
| 100 | leaves_deleted: u64, |
| 101 | leaves_replaced: u64, |
| 102 | leaves_restored: u64, |
| 103 | |
| 104 | // Content tracking |
| 105 | content_bytes_processed: u64, |
| 106 | |
| 107 | // Conflict tracking |
| 108 | conflicts_detected: u64, |
| 109 | |
| 110 | // Skip tracking (for idempotent operations) |
| 111 | operations_skipped: u64, |
| 112 | } |
| 113 | |
| 114 | impl ApplyStats { |
| 115 | /// Creates new empty statistics. |
nothing calls this directly
no outgoing calls
no test coverage detected