database_path

Function database_path 

Source
pub fn database_path() -> Result<PathBuf, PathError>
Expand description

Get the path to the gglib database file.

Returns the path to gglib.db in the user data directory. This is shared between dev and release builds.

The data/ subdirectory is created if it doesn’t exist.