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

Class ApplyStats

atomic-core/src/crdt/apply/context.rs:86–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84/// ```
85#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]
86pub 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
114impl ApplyStats {
115 /// Creates new empty statistics.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected