pub fn get_config_dir() -> Option<PathBuf>Expand description
Resolves the canonical configuration directory through the shared path policy. The legacy directory remains a read-only compatibility candidate; callers writing configuration must use the canonical path.
Returns None if no suitable directory can be determined.