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

Method add_line_op

atomic-core/src/record/workflow/crdt/builder/trunk.rs:87–89  ·  view source on GitHub ↗

Adds a line operation.

(&mut self, op: LineOps)

Source from the content-addressed store, hash-verified

85
86 /// Adds a line operation.
87 pub fn add_line_op(&mut self, op: LineOps) {
88 self.line_ops.push(op);
89 }
90
91 /// Returns the number of line operations.
92 #[inline]

Callers 11

add_lineMethod · 0.45
add_line_with_contentMethod · 0.45
delete_lineMethod · 0.45
to_change_opsMethod · 0.45
into_change_opsMethod · 0.45
add_file_with_contentMethod · 0.45
build_opsFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by 1