Back to the room

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

Code Observatory / class

GitError

codeintel.git_source.GitError

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

Called by (3)
SymbolFileResolved by
_rungit_source.pysame file
read_blobgit_source.pysame file
read_file_at_commitgit_source.pysame file
Contains (1)
SymbolFileResolved by
__init__git_source.pysame file
Inside (1)
SymbolFileResolved by
git_sourcegit_source.pysame file
codeintel.git_source.GitErrorbackend/app/codeintel/git_source.py, lines 50–59Open source
class GitError(RuntimeError):    """A git command failed.    ``retryable`` is False for failures that will not fix themselves    (repository not found, authentication refused, unknown branch).    """    def __init__(self, message: str, *, retryable: bool) -> None:        super().__init__(message)        self.retryable = retryable

What the index recorded

Signature
class GitError(RuntimeError):
File
backend/app/codeintel/git_source.py
Lines
50–59
Parser
python-ast
Git blob
6f88470169e4935929c5f865a974bd86da564c1a
Outside this subset
4 more edges reach code outside the graph shown here

Read it on GitHub at this commit