MCPcopy Create free account
hub / github.com/emwalker/digraph / display_color

Method display_color

backend/src/git/ext.rs:256–262  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

254 }
255
256 pub fn display_color(&self) -> &str {
257 if self.in_wiki_repo() {
258 ""
259 } else {
260 DEFAULT_PRIVATE_COLOR
261 }
262 }
263
264 pub fn synonyms(&self) -> &[Synonym] {
265 self.repo_topic.synonyms()

Callers

nothing calls this directly

Calls 2

in_repoMethod · 0.80
in_wiki_repoMethod · 0.45

Tested by

no test coverage detected