Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / function
local_git_dir
codeintel.git_source.local_git_dir
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 |
|---|---|---|
| _run | git_source.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| _load | source.py | through an import |
| Symbol | File | Resolved by |
|---|---|---|
| git_source | git_source.py | same file |
codeintel.git_source.local_git_dirbackend/app/codeintel/git_source.py, lines 464–465Open source
def local_git_dir(path: str) -> str: return _run(["git", "-C", path, "rev-parse", "--absolute-git-dir"], timeout=30).strip()What the index recorded
- Signature
def local_git_dir(path: str) -> str:- File
backend/app/codeintel/git_source.py- Lines
- 464–465
- Parser
- python-ast
- Git blob
6f88470169e4935929c5f865a974bd86da564c1a- Call sites
- 2 named, 1 resolved, 1 left unlinked
