MCPcopy Index your code
hub / github.com/emwalker/digraph / format

Method format

backend/src/types.rs:454–459  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

452 }
453
454 pub fn format(&self, name: &str) -> String {
455 match self.prefix() {
456 Some(prefix) => format!("{prefix} {name}"),
457 None => name.to_owned(),
458 }
459 }
460}
461
462pub fn sha256_base64(normalized: &str) -> String {

Callers 3

RepoTopicTimerangeFormFunction · 0.80
nameMethod · 0.80
prefixed_synonymsMethod · 0.80

Calls 1

prefixMethod · 0.45

Tested by

no test coverage detected