Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ old_tokens
Method
old_tokens
atomic-core/src/diff/word.rs:324–326 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
322
/// Get the old tokens.
323
#[inline]
324
pub fn old_tokens(&self) -> &[Token<'a>] {
325
&self.old_tokens
326
}
327
328
/// Get the new tokens.
329
#[inline]
Callers
3
test_word_diff_preserves_token_order
Function · 0.80
convert_word_diff_to_hunks
Function · 0.80
convert_word_diff_to_token_changes
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_word_diff_preserves_token_order
Function · 0.64