Back to the room

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

Code Observatory / method

__init__

codeintel.source._FileCache.__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 symbols

Loading

Inside (1)
SymbolFileResolved by
_FileCachesource.pysame file
codeintel.source._FileCache.__init__backend/app/codeintel/source.py, lines 62–65Open source
    def __init__(self, capacity: int) -> None:        self.capacity = capacity        self._data: OrderedDict[str, bytes] = OrderedDict()        self._lock = threading.Lock()

What the index recorded

Signature
def __init__(self, capacity: int) -> None:
File
backend/app/codeintel/source.py
Lines
62–65
Parser
python-ast
Git blob
c9f05cf7bf871b09919d64e9fdaf8380ecc3df2c
Call sites
2 named, 0 resolved, 2 left unlinked

Read it on GitHub at this commit