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

Method branch_ops

atomic-core/src/record/workflow/crdt/builder/mod.rs:222–227  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

220 }
221
222 pub fn branch_ops(&self) -> Vec<(BranchId, &BranchOp)> {
223 self.file_ops
224 .iter()
225 .flat_map(|f| f.line_ops().iter().map(|l| (l.branch_id(), l.operation())))
226 .collect()
227 }
228
229 /// Consumes the result and returns its parts.
230 pub fn into_parts(self) -> (Vec<FileOps>, Vec<u8>, CrdtBuildStats) {

Callers

nothing calls this directly

Calls 4

iterMethod · 0.45
line_opsMethod · 0.45
branch_idMethod · 0.45
operationMethod · 0.45

Tested by

no test coverage detected