brane_ctl::utils

Function resolve_config_path

Source
pub fn resolve_config_path(
    path: PathBuf,
    config_path: impl AsRef<Path>,
) -> PathBuf
Expand description

Function that resolves the given config path.

Effectively replaces ‘$CONFIG’ by the path given.

§Arguments

  • ``

§Returns

The same path as given, but now resolved.