Skip to main content

Module cache

Module cache 

Source

Structs§

CacheMetadata
DbCache
DbCacheV1
DbCacheV2
DependencyCache
ForeignKeyCache
IndexCache
LegacyTriggerCache
TriggerCache

Enums§

DbCacheVersioned

Constants§

CACHE_FORMAT_VERSION
CACHE_V3_MAGIC
Prefixes every V3 payload after zstd decompression. Older caches did not have a payload header, so this prevents their bincode V3 discriminator from being mistaken for the redesigned V3 schema.

Functions§

legacy_cache_format_version
Returns the historical enum version encoded at the beginning of an unheadered bincode cache. The configured bincode format uses a single-byte variable integer for the historical versions. Versions 3 and above are intentionally not compatible with v0.4.3 and must be rebuilt by safe-migrate sync.