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:423–425 ·
view source on GitHub ↗
Adds a line operation.
(&mut self, op: LineOps)
Source
from the content-addressed store, hash-verified
421
422
/// Adds a line operation.
423
pub fn add_line_op(&mut self, op: LineOps) {
424
self.line_ops.push(op);
425
}
426
427
/// Returns the number of line operations.
428
#[inline]
Callers
15
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
record_binary_span_edit
Function · 0.45
complete_semantic_replacement
Function · 0.45
record_foreign_deleted_file_on_view_excluding
Method · 0.45
resolve_existing_file_ops
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
10
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
out_of_closure_tombstone_attribution_requires_an_applied_writer
Function · 0.36
deletion_evidence_loads_each_applied_writer_once_for_all_its_lines
Function · 0.36
incoming_span_edit_rejects_semantic_trunk_from_another_file
Function · 0.36