MCPcopy Create free account
hub / github.com/dfinity/orbit / is_empty

Method is_empty

core/station/impl/src/core/cache.rs:32–34  ·  view source on GitHub ↗

Returns true if the cache is empty.

(&self)

Source from the content-addressed store, hash-verified

30
31 /// Returns true if the cache is empty.
32 pub fn is_empty(&self) -> bool {
33 self.map.is_empty()
34 }
35
36 /// Inserts a key-value pair into the cache.
37 pub fn insert(&mut self, key: Key, value: Value) {

Callers 15

as_path_bufsMethod · 0.45
authorizeFunction · 0.45
evaluateMethod · 0.45
remove_scheduled_taskMethod · 0.45
initialize_job_timersFunction · 0.45
set_initial_usersFunction · 0.45
validate_tagsFunction · 0.45
validate_statusFunction · 0.45

Calls

no outgoing calls

Tested by 2

backup_snapshotFunction · 0.36
assert_initial_accountsFunction · 0.36