Skip to main content

open_ready

Function open_ready 

Source
pub fn open_ready(project_root: &str) -> Option<OpenGraphProvider>
Expand description

Hot-path open for optional enrichment (post-read hints, silent preload): only a fully populated property graph, opened from SQLite. Never parses the JSON index and never builds synchronously — when the graph is not ready it schedules the background build and returns None, so the caller simply skips its optional work. A read must not wait seconds (or a 30 s build) for a hint it may not even show.