pub fn db_path_view(scope_hash: Option<&str>) -> PathBuf
Read-only variant of db_path: derives the same path without creating any directory. Used by read-only inspectors (#391).
db_path