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

Method to_base32

atomic-core/src/kg/project_id.rs:41–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

39 strict_base32(s).map(Self)
40 }
41 pub fn to_base32(self) -> String {
42 data_encoding::BASE32_NOPAD.encode(&self.0)
43 }
44 pub fn to_urn(self) -> String {
45 format!("urn:atomic:project:{}", self.to_base32())
46 }

Callers 15

submitMethod · 0.45
format_hashFunction · 0.45
format_hash_with_lengthFunction · 0.45
change_hash_candidatesFunction · 0.45
runMethod · 0.45
short_hashFunction · 0.45
full_hashFunction · 0.45
wire_hash_base32Function · 0.45
unrecordFunction · 0.45
short_hash_fullFunction · 0.45
view_splitFunction · 0.45

Calls 1

encodeMethod · 0.45