MCPcopy Index your code
hub / github.com/emwalker/digraph / include

Method include

backend/src/types.rs:205–207  ·  view source on GitHub ↗
(&self, repo_id: RepoId)

Source from the content-addressed store, hash-verified

203
204impl RepoIds {
205 pub fn include(&self, repo_id: RepoId) -> bool {
206 self.0.iter().any(|id| id == &repo_id)
207 }
208
209 pub fn iter(&self) -> std::slice::Iter<'_, RepoId> {
210 self.0.iter()

Callers 5

can_readMethod · 0.80
can_updateMethod · 0.80
can_updateMethod · 0.80
viewer_can_updateMethod · 0.80
viewer_can_updateMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected