MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / iter

Method iter

nodedb/src/control/planner/descriptor_set.rs:71–73  ·  view source on GitHub ↗

Iterate `(id, version)` pairs in stable order.

(&self)

Source from the content-addressed store, hash-verified

69
70 /// Iterate `(id, version)` pairs in stable order.
71 pub fn iter(&self) -> impl Iterator<Item = (&DescriptorId, u64)> {
72 self.entries.iter().map(|(id, v)| (id, *v))
73 }
74
75 /// Number of distinct descriptors recorded.
76 pub fn len(&self) -> usize {

Callers 15

get_collectionMethod · 0.45
lookup_arrayMethod · 0.45
convert_collection_typeFunction · 0.45
all_freshMethod · 0.45
record_sorts_and_dedupesFunction · 0.45
plan_tiered_scanFunction · 0.45
validate_signatureFunction · 0.45
get_tenant_usageMethod · 0.45
hex_encodeFunction · 0.45
compile_forFunction · 0.45
collect_raw_sql_untilFunction · 0.45
rollback_toMethod · 0.45

Calls

no outgoing calls

Tested by 2

record_sorts_and_dedupesFunction · 0.36
sum_by_aggregationFunction · 0.36