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

Method has_changes

atomic-core/src/record/workflow/crdt/builder/mod.rs:131–133  ·  view source on GitHub ↗

Returns true if any changes were recorded.

(&self)

Source from the content-addressed store, hash-verified

129
130 /// Returns true if any changes were recorded.
131 pub fn has_changes(&self) -> bool {
132 self.total_ops() > 0
133 }
134
135 /// Merges another stats instance into this one.
136 pub fn merge(&mut self, other: &CrdtBuildStats) {

Callers 1

has_operationsMethod · 0.45

Calls 1

total_opsMethod · 0.45

Tested by

no test coverage detected