pub fn config_path_under_root(
config_path: &Path,
root: &Path,
) -> Option<PathBuf>Expand description
The path of the config file config_path, relative to root.
The function canonicalizes both paths. Thus a relative -c path, or a
path through a symlink such as the macOS /tmp, also resolves. None when
the config file does not exist or is not below root.