MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / is_empty

Method is_empty

ipld/resolver/src/provider_cache.rs:19–21  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

17
18impl ProviderDelta {
19 pub fn is_empty(&self) -> bool {
20 self.added.is_empty() && self.removed.is_empty()
21 }
22}
23
24/// Track which subnets are provided for by which set of peers.

Callers 7

start_queryMethod · 0.45
resolve_queryMethod · 0.45
newMethod · 0.45
background_lookupMethod · 0.45
newMethod · 0.45
publish_for_new_peerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected