Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works
Code Observatory / method
put
codeintel.source._FileCache.put
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 |
|---|---|---|
| _load | source.py | same file |
| Symbol | File | Resolved by |
|---|---|---|
| _FileCache | source.py | same file |
codeintel.source._FileCache.putbackend/app/codeintel/source.py, lines 74–79Open source
def put(self, key: str, value: bytes) -> None: with self._lock: self._data[key] = value self._data.move_to_end(key) while len(self._data) > self.capacity: self._data.popitem(last=False)What the index recorded
- Signature
def put(self, key: str, value: bytes) -> None:- File
backend/app/codeintel/source.py- Lines
- 74–79
- Parser
- python-ast
- Git blob
c9f05cf7bf871b09919d64e9fdaf8380ecc3df2c- Call sites
- 3 named, 0 resolved, 3 left unlinked
