Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
tokens
Method · 0.45
index_key
Method · 0.45
synonym_indexes
Method · 0.45
Calls
1
len
Method · 0.45
Tested by
no test coverage detected