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

Method to_urn

atomic-identity/src/delegation.rs:622–624  ·  view source on GitHub ↗

The canonical URN form (`urn:atomic:delegation: `).

(&self)

Source from the content-addressed store, hash-verified

620
621 /// The canonical URN form (`urn:atomic:delegation:<base32>`).
622 pub fn to_urn(&self) -> String {
623 format!("{}{}", Self::URN_PREFIX, self.to_base32())
624 }
625
626 /// A short prefix for display.
627 pub fn short(&self) -> String {

Callers 1

Calls

no outgoing calls

Tested by 1