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

Class FileCacheEntry

src/pyspector/ast_cache.py:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55@dataclass(frozen=True)
56class FileCacheEntry:
57 file_path: str
58 file_hash: str # sha256 of full file content
59 mtime: float
60 full_ast_json_z: bytes # zlib-compressed full AST JSON string
61 chunks: Dict[str, AstChunk]
62 version: int = CACHE_VERSION
63
64
65# ── Chunking helpers ─────────────────────────────────────────────────────────

Callers 4

_make_entryMethod · 0.90
_deserialize_entryFunction · 0.85
_buildMethod · 0.85

Calls

no outgoing calls

Tested by 2

_make_entryMethod · 0.72