Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
build_crdt_ops_for_modified_file
Function · 0.45
build_crdt_ops_from_git_diff
Function · 0.45
build_crdt_ops_from_diff_ops
Function · 0.45
add_line
Method · 0.45
add_line_with_content
Method · 0.45
delete_line
Method · 0.45
test_file_ops_add_line_op
Function · 0.45
to_change_ops
Method · 0.45
into_change_ops
Method · 0.45
add_file_with_content
Method · 0.45
build_ops
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
1
test_file_ops_add_line_op
Function · 0.36