path_validate#

cherab.lhd.emc3.repository.utility.path_validate(path: Path | str) PathSource#

Validate path and return Path instance.

Parameters:
pathPath | str

Arbitrary path.

Returns:
Path

Path to the file or directory.