Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ ops
Method
ops
atomic-core/src/diff/ops.rs:465–467 ·
view source on GitHub ↗
Get the operations as a slice.
(&self)
Source
from the content-addressed store, hash-verified
463
464
/// Get the operations as a slice.
465
pub fn ops(&self) -> &[DiffOp] {
466
&self.ops
467
}
468
469
/// Take ownership of the operations.
470
pub fn into_ops(self) -> Vec<DiffOp> {
Callers
11
compare_content
Function · 0.45
generate_diff
Function · 0.45
analyze
Method · 0.45
next
Method · 0.45
rewrite_positional_shifts
Function · 0.45
merge_text
Function · 0.45
test_diff_modify_then_insert_original
Function · 0.45
test_diff_modify_then_insert_original_patience
Function · 0.45
test_diff_pure_insert_still_works
Function · 0.45
convert_word_diff_to_hunks
Function · 0.45
convert_word_diff_to_token_changes
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_diff_modify_then_insert_original
Function · 0.36
test_diff_modify_then_insert_original_patience
Function · 0.36
test_diff_pure_insert_still_works
Function · 0.36