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

Method can_read

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

Source from the content-addressed store, hash-verified

510 }
511
512 pub fn can_read(&self, repo_id: RepoId) -> bool {
513 if self.super_user {
514 return true;
515 }
516 self.read_repo_ids.include(repo_id)
517 }
518
519 pub fn can_update(&self, repo_id: RepoId) -> bool {
520 if self.super_user {

Callers 5

ensure_can_readMethod · 0.80
existsMethod · 0.80
fetchMethod · 0.80
topic_searchesMethod · 0.80

Calls 1

includeMethod · 0.80

Tested by

no test coverage detected