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

Method has_operations

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

Returns true if any operations have been recorded.

(&self)

Source from the content-addressed store, hash-verified

353
354 /// Returns true if any operations have been recorded.
355 pub fn has_operations(&self) -> bool {
356 !self.file_ops.is_empty() || self.stats.has_changes()
357 }
358
359 /// Returns the last allocated branch ID.
360 pub fn last_branch(&self) -> Option<BranchId> {

Callers

nothing calls this directly

Calls 2

is_emptyMethod · 0.45
has_changesMethod · 0.45

Tested by

no test coverage detected