Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ is_equal
Method
is_equal
atomic-core/src/diff/word.rs:144–146 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
142
/// ```
143
#[inline]
144
pub fn is_equal(&self) -> bool {
145
matches!(self, WordDiffOp::Equal { .. })
146
}
147
148
/// Check if this is an insert operation.
149
#[inline]
Callers
2
is_change
Method · 0.45
test_merge_adjacent_equals
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_merge_adjacent_equals
Function · 0.36