Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ len
Method
len
nodedb/src/storage/snapshot.rs:176–178 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
174
}
175
176
pub fn len(&self) -> usize {
177
self.snapshots.len()
178
}
179
180
pub fn is_empty(&self) -> bool {
181
self.snapshots.is_empty()
Callers
13
prune_row_groups
Function · 0.45
new
Method · 0.45
read_from
Method · 0.45
decrypt_segment_bytes
Function · 0.45
read_encrypted_segment
Function · 0.45
two_segments_same_min_lsn_produce_different_ciphertext
Function · 0.45
create_base_snapshot
Function · 0.45
dry_run_restore
Function · 0.45
parse_utc_timestamp
Function · 0.45
execute_restore
Function · 0.45
restore_core_state
Function · 0.45
select_segments_for_compaction
Function · 0.45
Calls
no outgoing calls
Tested by
1
two_segments_same_min_lsn_produce_different_ciphertext
Function · 0.36