MCPcopy Create free account
hub / github.com/ParzivalHack/PySpector / _l1_get

Method _l1_get

src/pyspector/ast_cache.py:326–330  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

324 # ── Internal ─────────────────────────────────────────────────────────────
325
326 def _l1_get(self, key: str) -> Optional[FileCacheEntry]:
327 entry = self._l1.get(key)
328 if entry is not None:
329 self._l1.move_to_end(key)
330 return entry
331
332 def _l1_put(self, key: str, entry: FileCacheEntry) -> None:
333 self._l1[key] = entry

Callers 1

_get_entryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected