Accepts a path to either a file or a directory.
In the former case, the basepath (path to the containing directory)
will be checked for existence, and created if it does not exists.
In the later case, the directory pointed to will be checked for existence
and created if needed.
Ensure that the provided path exists
Accepts a path to either a file or a directory. In the former case, the basepath (path to the containing directory) will be checked for existence, and created if it does not exists. In the later case, the directory pointed to will be checked for existence and created if needed.