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

Method delegation_path

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

Path of a certificate, by its base32 id.

(&self, id: &str)

Source from the content-addressed store, hash-verified

831
832 /// Path of a certificate, by its base32 id.
833 fn delegation_path(&self, id: &str) -> PathBuf {
834 self.delegations_dir().join(format!("{id}.json"))
835 }
836
837 /// Path of a revocation, by the delegation's base32 id.
838 fn revocation_path(&self, id: &str) -> PathBuf {

Callers 4

save_delegationMethod · 0.80
load_delegationMethod · 0.80
delegation_existsMethod · 0.80
delete_delegationMethod · 0.80

Calls 1

delegations_dirMethod · 0.80

Tested by

no test coverage detected