Skip to main content

geonames_db_path

Function geonames_db_path 

Source
pub fn geonames_db_path() -> PathBuf
Expand description

Resolve GeoNames DB path.

Searches the same candidate roots as the rest of bootstrap (asset install dir, $SMRITI_ASSET_DIR / legacy $PHOTOVAULT_ASSET_DIR, executable dir, project root, /usr/lib/smriti, /usr/lib/photovault) plus the CWD-relative data/.