Skip to content

Path Utils

Source

Utility functions for paths.

check_path_exists(path)

Check if a path exists. If not, raise an error.

Note that it returns path as a Path object.

Parameters:

Returns:

  • Path

    Path as a Path object.