Skip to main content

db_path

Function db_path 

Source
pub fn db_path(cache_dir: &Path) -> PathBuf
Expand description

Compute the path to the current-version SQLite cache file within cache_dir.

Returns {cache_dir}/cache.v{SCHEMA_VERSION}.db.