Back to the room

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

Code Observatory / method

close

codeintel.git_source.Checkout.close

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 (1)
SymbolFileResolved by
__exit__git_source.pysame file
Inside (1)
SymbolFileResolved by
Checkoutgit_source.pysame file
codeintel.git_source.Checkout.closebackend/app/codeintel/git_source.py, lines 353–363Open source
    def close(self) -> None:        if self._reader is not None:            try:                self._reader.stdin.close()  # type: ignore[union-attr]                self._reader.wait(timeout=10)            except Exception:                self._reader.kill()            self._reader = None        if self._temp_dir:            shutil.rmtree(self._temp_dir, ignore_errors=True)            self._temp_dir = None

What the index recorded

Signature
def close(self) -> None:
File
backend/app/codeintel/git_source.py
Lines
353–363
Parser
python-ast
Git blob
6f88470169e4935929c5f865a974bd86da564c1a
Call sites
4 named, 0 resolved, 4 left unlinked

Read it on GitHub at this commit