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

Method trunk_op

atomic-core/src/record/workflow/crdt/builder/trunk.rs:76–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

74 /// Returns the trunk operation (if any).
75 #[inline]
76 pub fn trunk_op(&self) -> Option<&TrunkOp> {
77 self.trunk_op.as_ref()
78 }
79
80 /// Returns the line operations.
81 #[inline]

Callers 4

trunk_opsMethod · 0.45
test_file_ops_createFunction · 0.45
test_file_ops_deleteFunction · 0.45

Calls 1

as_refMethod · 0.80

Tested by 3

test_file_ops_createFunction · 0.36
test_file_ops_deleteFunction · 0.36