check_and_build_dir#

VSPEC.helpers.check_and_build_dir(path: Path) None#

Check and build directory.

Check if a path exists, if not, create it.

Parameters:

path (pathlib.Path or str) – Path to check and create