Expand description
SQLite-backed compiler cache shared by the writer and the reader.
The cache is a single SQLite file per profile namespace. BuildArtifact
is the read/write handle used during compilation; ProjectCache is the
read-only handle used by downstream consumers (the LSP, in particular). Both
agree on the file location, schema version, and error vocabulary defined
here.
Modulesยง
- build_
artifact ๐ - Persistence layer for the incremental compiler.
- project_
cache ๐ - Read-only interface to cached project and typecheck artifacts.
- schema ๐
- Schema for the compiler cache database.
Enumsยง
Constantsยง
- DB_FILE ๐
Functionsยง
- db_path ๐
- Compute the path to the compiler cache database for a given project and profile.