Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ len
Method
len
atomic-repository/src/changestore/cache.rs:119–121 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
117
/// Get the current number of entries in the cache.
118
#[cfg(test)]
119
pub(crate) fn len(&self) -> usize {
120
self.entries.len()
121
}
122
123
/// Clear all entries from the cache.
124
#[cfg(test)]
Callers
15
import_v3_bytes
Method · 0.45
export_v3_bytes
Method · 0.45
materialize_parallel
Method · 0.45
populate_file_index
Method · 0.45
populate_file_index_for_paths
Method · 0.45
remove
Method · 0.45
tracked_file_count
Method · 0.45
reindex_working_copy
Method · 0.45
state_short
Method · 0.45
archive
Method · 0.45
archive_to_directory
Method · 0.45
stage
Method · 0.45
Calls
no outgoing calls
Tested by
6
test_small_edit_on_large_file_stays_proportional
Function · 0.36
test_sequential_small_edits_do_not_compound_duplication
Function · 0.36
test_cross_view_merge_large_file_post_merge_record_clean
Function · 0.36
test_sorting_lines_does_not_duplicate_them
Function · 0.36
test_emptying_file_after_orphan_view_merge_removes_every_copy
Function · 0.36
attest_path
Method · 0.36