Closed Koncopd closed 1 month ago
Thank you for opening the issue, @Koncopd .
Would you be interested in adding a test case for the touch behavior to the base tests?
Cheers, Andreas
Yes, i can work on this.
I actually think that the current behavior is correct, and truncate=True
should not be passed by default.
On the other hand it is strange that .touch(exist_ok=False)
works fine on an existing file.
S3Path.touch
withexist_ok=True
on existing file raises an error. Hereexist_ok=True
setstruncate
toFalse
and this raises the error hereOn 0.1.4 it worked fine.