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

Method len

nodedb-crdt/src/policy.rs:209–211  ·  view source on GitHub ↗

Total number of registered policies.

(&self)

Source from the content-addressed store, hash-verified

207
208 /// Total number of registered policies.
209 pub fn len(&self) -> usize {
210 self.policies.len()
211 }
212
213 pub fn is_empty(&self) -> bool {
214 self.policies.is_empty()

Callers 9

list_insertFunction · 0.45
list_insert_containerFunction · 0.45
list_deleteFunction · 0.45
list_moveFunction · 0.45
list_lengthFunction · 0.45
get_movable_listFunction · 0.45
purge_history_beforeMethod · 0.45
clear_collectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected