pub fn resolve_persistent_db_path(cli_value: Option<&str>) -> Option<PathBuf>Expand description
Resolve where the persistent database should live, applying the
CLI > env-var > platform-default precedence. Returns None only when
no source supplied a path (the platform default failed and nothing
was set explicitly), which the caller should treat as an error.
cli_value is the value of --persistent-db (or --workspace after
deprecation translation). When Some, takes precedence over both
the env var and the platform default.