Skip to main content

Module cache

Module cache 

Source

Structs§

SqlFile

Functions§

compute_hash
Compute SHA-256 hash of SQL files. Files are sorted by path, each path+content separated by null bytes (matching the TS implementation).
read_cache
Read cached IR. Returns None on miss (wrong hash, no file, corrupted).
write_cache
Write IR cache atomically (temp file → rename).