MCPcopy Create free account
hub / github.com/argumentcomputer/ix / anon

Method anon

crates/common/src/env.rs:158–161  ·  view source on GitHub ↗

Constructs the anonymous (root) name.

()

Source from the content-addressed store, hash-verified

156 }
157 /// Constructs the anonymous (root) name.
158 pub fn anon() -> Self {
159 let hash = blake3::hash(&[NANON]);
160 Name(Arc::new(NameData::Anonymous(hash)))
161 }
162
163 /// Constructs a name by appending a string component to `pre`.
164 pub fn str(pre: Name, s: String) -> Self {

Callers

nothing calls this directly

Calls 1

NameClass · 0.85

Tested by

no test coverage detected