data_root

Function data_root 

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

Get the root directory for application data (database, config).

Resolution order:

  1. GGLIB_DATA_DIR environment variable (highest priority)
  2. Local repository (if running from source)
  3. System data directory (e.g., ~/.local/share/gglib)