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

Method is_empty

nodedb/src/data/executor/core_loop/priority_queues.rs:90–92  ·  view source on GitHub ↗

`true` if all tiers are empty.

(&self)

Source from the content-addressed store, hash-verified

88
89 /// `true` if all tiers are empty.
90 pub fn is_empty(&self) -> bool {
91 self.critical.is_empty() && self.high.is_empty() && self.low.is_empty()
92 }
93
94 /// Pending count for the Critical tier.
95 pub fn critical_len(&self) -> usize {

Callers 15

openMethod · 0.45
spawn_coreFunction · 0.45
with_configMethod · 0.45
read_filesMethod · 0.45
scan_collectionMethod · 0.45
export_snapshotMethod · 0.45
decode_documentFunction · 0.45
decode_document_valueFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected