Skip to main content

GRAPH_CACHE_VERSION

Constant GRAPH_CACHE_VERSION 

Source
pub const GRAPH_CACHE_VERSION: u32 = 3; // 3u32
Expand description

Persisted graph cache schema version.

Bump this whenever the serialized shape of the persisted graph (any of the graph types that derive serde for the cache, the manifest types, or the store envelope) changes, so a stale graph-cache.bin written by an older binary is rejected rather than deserialized into the wrong shape.