Skip to main content

read_search_generation

Function read_search_generation 

Source
pub fn read_search_generation(project_dir: &Path) -> Result<u64, GfError>
Expand description

The generation of the committed node topology and node properties consumed by graph-native search.

A legacy counter without search_generation inherits topology_generation, preserving reopen compatibility. A missing counter file is generation zero.

ยงErrors

Returns GfError::Storage when the counter exists but is corrupt or unreadable.