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/change/ops.rs:217–219 ·
view source on GitHub ↗
Adds a line operation.
(&mut self, op: LineOps)
Source
from the content-addressed store, hash-verified
215
216
/// Adds a line operation.
217
pub fn add_line_op(&mut self, op: LineOps) {
218
self.line_ops.push(op);
219
}
220
221
/// Returns the number of line operations.
222
#[inline]
Callers
11
build_linewise_crdt_ops_for_added_file
Function · 0.45
build_graph_first_file_ops_for_added_file
Function · 0.45
convert_diff
Method · 0.45
test_file_ops_edit
Function · 0.45
test_file_ops_token_count
Function · 0.45
test_stats_from_file_ops
Function · 0.45
test_file_ops_serialize_roundtrip
Function · 0.45
test_file_ops_postcard_roundtrip
Function · 0.45
resolve_existing_file_ops
Function · 0.45
materialize_filter_accepts_graph_linked_create_inserts
Function · 0.45
materialize_filter_rejects_diff_only_edit_ops
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
7
test_file_ops_edit
Function · 0.36
test_file_ops_token_count
Function · 0.36
test_stats_from_file_ops
Function · 0.36
test_file_ops_serialize_roundtrip
Function · 0.36
test_file_ops_postcard_roundtrip
Function · 0.36
materialize_filter_accepts_graph_linked_create_inserts
Function · 0.36
materialize_filter_rejects_diff_only_edit_ops
Function · 0.36