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 ast_json_z: bytes # zlib-compressed JSON of the AstNode subtree
55
56
57@dataclass(frozen=True)
58class FileCacheEntry:
59 file_path: str
60 file_hash: str # sha256 of full file content
61 mtime: float
62 full_ast_json_z: bytes # zlib-compressed full AST JSON string
63 chunks: Dict[str, AstChunk]
64 version: int = CACHE_VERSION
65

Callers 4

_make_entryMethod · 0.90
_deserialize_entryFunction · 0.85
_buildMethod · 0.85

Calls

no outgoing calls

Tested by 2

_make_entryMethod · 0.72