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

Function source_line

atomic-cli/src/commands/intent/verify.rs:265–267  ·  view source on GitHub ↗

A short display line describing where the key came from.

(name: &str, did_short: &str, origin: &str)

Source from the content-addressed store, hash-verified

263
264/// A short display line describing where the key came from.
265fn source_line(name: &str, did_short: &str, origin: &str) -> String {
266 format!("{origin} (identity '{name}', id {did_short}...)")
267}
268
269/// Truncate a base32 key for display.
270fn short_key(key: &str) -> String {

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected