Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ has_child
Method
has_child
backend/src/git/types.rs:363–365 ·
view source on GitHub ↗
(&self, id: &ExternalId)
Source
from the content-addressed store, hash-verified
361
}
362
363
pub fn has_child(&self, id: &ExternalId) -> bool {
364
self.children.iter().any(|child| &child.id == id)
365
}
366
367
pub fn has_details(&self) -> bool {
368
self.metadata.details.is_some()
Callers
nothing calls this directly
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected