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

Method is_wiki

backend/src/types.rs:121–126  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

119 }
120
121 pub fn is_wiki(&self) -> bool {
122 lazy_static! {
123 static ref WIKI: Uuid = WIKI_REPOSITORY_ID.try_into().unwrap();
124 }
125 self.0 == *WIKI
126 }
127
128 pub fn relative_path(&self) -> String {
129 format!("{}/", self.0)

Callers 5

in_wiki_repoMethod · 0.80
display_colorMethod · 0.80
in_wiki_repoMethod · 0.80
in_wiki_repoMethod · 0.80
prefer_private_repoFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected