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

Method is_valid

backend/src/git/index.rs:62–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

60 }
61
62 pub fn is_valid(&self) -> bool {
63 self.0.len() >= 2
64 }
65
66 pub fn contains(&self, other: &Self) -> bool {
67 self.0.contains(&other.0)

Callers 3

tokensMethod · 0.45
index_keyMethod · 0.45
synonym_indexesMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected