MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / delegation_exists

Method delegation_exists

atomic-identity/src/store.rs:798–800  ·  view source on GitHub ↗

Is a certificate stored under this id?

(&self, id: &str)

Source from the content-addressed store, hash-verified

796
797 /// Is a certificate stored under this id?
798 pub fn delegation_exists(&self, id: &str) -> bool {
799 self.delegation_path(id).exists()
800 }
801
802 /// Every stored certificate, as `(base32 id, document)` pairs.
803 ///

Callers

nothing calls this directly

Calls 2

delegation_pathMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected