MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / is_empty

Method is_empty

p2p/src/keys.rs:96–98  ·  view source on GitHub ↗

Returns true if there are no keys stored.

(&self)

Source from the content-addressed store, hash-verified

94
95 /// Returns true if there are no keys stored.
96 pub async fn is_empty(&self) -> Result<bool> {
97 Ok(self.storage.len().await? == 0)
98 }
99}
100
101impl Default for Keychain<MemoryStorage> {

Callers 15

has_trailing_slashMethod · 0.45
fmtMethod · 0.45
from_strMethod · 0.45
resolveMethod · 0.45
decodeMethod · 0.45
pushMethod · 0.45
pollMethod · 0.45
get_dns_configFunction · 0.45
newMethod · 0.45
expiryMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by 3

load_network_fileFunction · 0.36
test_anchor_service_runFunction · 0.36