Skip to main content

view_db_path

Function view_db_path 

Source
pub fn view_db_path(graph_root: &Path, repo: &str, view_id: &str) -> PathBuf
Expand description

The database file for a view’s graph under graph_root: <graph_root>/<repo>/<view_id>.db, with repo/view_id made filesystem-safe. Writer (indexer) and reader (server) must agree on this.