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

Method short

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

A short prefix for display.

(&self)

Source from the content-addressed store, hash-verified

625
626 /// A short prefix for display.
627 pub fn short(&self) -> String {
628 self.to_base32().chars().take(8).collect()
629 }
630}
631
632impl fmt::Display for DelegationId {

Callers

nothing calls this directly

Calls 2

collectMethod · 0.45
to_base32Method · 0.45

Tested by

no test coverage detected