Skip to main content

Module materialization

Module materialization 

Source

Structs§

MaterializeStats
Counts affected graph and dependency-cache rows, excluding readiness and metadata. Replacements count both the deletion and insertion; relinks include refs and edges. Resolution counters describe work performed, not SQLite writes.

Functions§

apply_manifest_diff
Apply to a private copy of the base generation’s database, never a published file. The caller owns copying, durability and pointer publication. All graph changes and the fingerprint commit atomically; errors roll back to the supplied base. An old binding-cache schema takes the cold path; a mismatched manifest is refused.
materialize_manifest_view_database
Cold materialization, also used to upgrade databases without diff metadata.