pub fn resolve_db_path(config_path: Option<&str>) -> Option<PathBuf>Expand description
Resolve the database file path.
Priority: config_path > $MCPR_DB env > platform default.
Returns None only if no platform data directory can be determined
(extremely rare — means $HOME is unset on a headless system).