Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
resolve_repositories
codeintel.context.resolve_repositories
PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.
PHAROS at 975a38dMIT license
Around this symbol
Search all symbolsLoading
| Symbol | File | Resolved by |
|---|---|---|
| RepositoryNotFound | context.py | same file |
| repositories_matching | retrieval.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| assemble_context | context.py | same file |
| _filters | router.py | through an import |
| _repo_ids | router.py | through an import |
| build_mcp_server | native_server.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| context | context.py | same file |
codeintel.context.resolve_repositoriesbackend/app/codeintel/context.py, lines 82–88Open source
def resolve_repositories(db: Session, ref: str | None) -> list[Repository]: if ref is None: return [] repos = repositories_matching(db, ref) if not repos: raise RepositoryNotFound(f"no indexed repository matches {ref!r}") return reposWhat the index recorded
- Signature
def resolve_repositories(db: Session, ref: str | None) -> list[Repository]:- File
backend/app/codeintel/context.py- Lines
- 82–88
- Parser
- python-ast
- Git blob
0c4a7dd4639651a5c13142d168630e344439f22a- Call sites
- 2 named, 2 resolved, 0 left unlinked
- Outside this subset
- 5 more edges reach code outside the graph shown here
