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

Function _make_cache

tests/unit/ast_cache_test.py:33–34  ·  view source on GitHub ↗
(tmp: Path, max_l1: int = MAX_L1_ENTRIES)

Source from the content-addressed store, hash-verified

31
32
33def _make_cache(tmp: Path, max_l1: int = MAX_L1_ENTRIES) -> IncrementalAstCache:
34 return IncrementalAstCache(cache_dir=tmp / "cache", max_l1_entries=max_l1)
35
36
37# ── TestChunkIds ──────────────────────────────────────────────────────────────

Calls 1

IncrementalAstCacheClass · 0.90

Tested by

no test coverage detected