Skip to main content

resolve_config_path

Function resolve_config_path 

Source
pub fn resolve_config_path(
    override_path: Option<&Path>,
) -> SshCliResult<PathBuf>
Expand description

Resolves the config file path from an optional override.

Takes Option<&Path> (not Option<PathBuf>) so callers can share one override without cloning — ownership of the path stays with the caller.