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

Method has_crdt_stats

atomic-repository/src/record/assemble.rs:117–124  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

115 /// Check if CRDT statistics are available.
116 #[must_use]
117 pub fn has_crdt_stats(&self) -> bool {
118 self.lines_added > 0
119 || self.lines_deleted > 0
120 || self.lines_modified > 0
121 || self.tokens_added > 0
122 || self.tokens_deleted > 0
123 || self.tokens_replaced > 0
124 }
125}
126
127impl fmt::Display for RecordStats {

Callers 2

format_outcomeMethod · 0.80
fmtMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected