| 54 | ast_json_z: bytes # zlib-compressed JSON of the AstNode subtree |
| 55 | |
| 56 | |
| 57 | @dataclass(frozen=True) |
| 58 | class 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 |
no outgoing calls