Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ is_insert
Method
is_insert
atomic-core/src/diff/word.rs:150–152 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
148
/// Check if this is an insert operation.
149
#[inline]
150
pub fn is_insert(&self) -> bool {
151
matches!(self, WordDiffOp::Insert { .. })
152
}
153
154
/// Check if this is a delete operation.
155
#[inline]
Callers
1
test_word_diff_replacement
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_word_diff_replacement
Function · 0.36