compass.utilities.io.resolve_all_paths#
- resolve_all_paths(container, base_dir, excluded_keys=None)[source]#
Perform a deep string replacement and path resolve in container
- Parameters:
container (
dictorlist) – Container like a dictionary or list that may (or may not) contain relative paths to resolve.base_dir (path-like) – Base path to directory from which to resolve path string (typically current directory)
excluded_keys (
Iterableofstr, optional) – Dictionary keys whose values should not be resolved as paths. By default,None.
- Returns: