Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
__init__
codeintel.git_source.Checkout.__init__
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 |
|---|---|---|
| Checkout | git_source.py | same file |
codeintel.git_source.Checkout.__init__backend/app/codeintel/git_source.py, lines 339–345Open source
def __init__(self, git_dir: str, commit: str, *, temp_dir: str | None = None, branch: str | None = None) -> None: self.git_dir = git_dir self.commit = commit self.branch = branch self._temp_dir = temp_dir self._reader: subprocess.Popen | None = NoneWhat the index recorded
- Signature
def __init__(self, git_dir: str, commit: str, *, temp_dir: str | None, branch: str | None) -> None:- File
backend/app/codeintel/git_source.py- Lines
- 339–345
- Parser
- python-ast
- Git blob
6f88470169e4935929c5f865a974bd86da564c1a
