foxes.config.get_path(pth, base)[source]

Gets path object, respecting the base directory

Parameters

pth: str or pathlib.Path

The path, optionally relative to base

base: pathlib.Path

The base directory

Returns

out: pathlib.Path

The path, absolute or relative to base directory