Skip to main content

db_path

Function db_path 

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

The file a store keeps its sessions in, under the directory it was given.

Public because a verb that only counts them must not open one: SessionStore::list creates the directory, the database and its schema on first use, and a report is not a write.