gaps.config.resolve_all_paths#

resolve_all_paths(container, base_dir)[source]#

Perform a deep string replacement and path resolve in container.

Parameters:
  • container (dict | list) – 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)

Returns:

container – Input container with updated strings.