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:438–440 ·
view source on GitHub ↗
Adds a line operation.
(&mut self, op: LineOps)
Source
from the content-addressed store, hash-verified
436
437
/// Adds a line operation.
438
pub fn add_line_op(&mut self, op: LineOps) {
439
self.line_ops.push(op);
440
}
441
442
/// Returns the number of line operations.
443
#[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
operations
Function · 0.45
fixture
Function · 0.45
large_change
Function · 0.45
decode
Function · 0.45
Calls
1
push
Method · 0.45
Tested by
15
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
fixture
Function · 0.36
large_change
Function · 0.36
unusual
Function · 0.36
authored_boundaries_kinds_unicode_empty_and_long_tokens_survive
Function · 0.36
unusual_boundaries_empty_unicode_and_long_tokens_are_exact
Function · 0.36
grammar_preserves_all_leaf_and_branch_shapes
Function · 0.36
arbitrary_authored_kinds_are_restored_with_exceptions
Function · 0.36