Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / method

raw_url

codeintel.git_source.RepoRef.raw_url

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 symbols

Loading

Calls (1)
SymbolFileResolved by
raw_file_urlgit_source.pysame file
Called by (1)
SymbolFileResolved by
_build_rowsindexer.pyunique name
Inside (1)
SymbolFileResolved by
RepoRefgit_source.pysame file
codeintel.git_source.RepoRef.raw_urlbackend/app/codeintel/git_source.py, lines 82–84Open source
    def raw_url(self, commit: str, path: str) -> str | None:        """URL serving the file's raw bytes at ``commit`` (None for local repos)."""        return raw_file_url(self.canonical_url, commit, path)

What the index recorded

Signature
def raw_url(self, commit: str, path: str) -> str | None:
File
backend/app/codeintel/git_source.py
Lines
82–84
Parser
python-ast
Git blob
6f88470169e4935929c5f865a974bd86da564c1a
Call sites
1 named, 1 resolved, 0 left unlinked

Read it on GitHub at this commit