Skip to content

Conversation

@ap--
Copy link
Collaborator

@ap-- ap-- commented Aug 30, 2024

Close #216

This fixes behavior of touch. truncate should never be set on an existing file when using touch from the pathlib api.
This also silently ignores an error when the filesystem does not support touching an existing file. (We could consider throwing a warning in this case)

@ap-- ap-- self-assigned this Aug 30, 2024
@ap-- ap-- merged commit 162dd2f into fsspec:main Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3Path.touch with exist_ok=True on existing file raises an error

1 participant