mkdir(parents=True
) tries to create the bucket if it's empty
#111
Labels
bug
Something isn't working
mkdir(parents=True
) tries to create the bucket if it's empty
#111
I run into this issue today...
I was using
UPath("gs://my-fresh-bucket/some-dir/another-dir/file").parent.mkdir(parents=True, exist_ok=True)
.The bucket was empty and didn't contain any objects.
universal-pathlib
attempted to create the bucket instead of creating the directory structure, which caused the code to fail.The text was updated successfully, but these errors were encountered: