1
mirror of https://github.com/rclone/rclone synced 2024-12-27 19:43:48 +01:00
rclone/cmd/touch
Nick Craig-Wood 18e9d039ad touch: fix using -R on certain backends
On backends which return a valid object for "" with NewObject then
touch was going wrong as it thought it was passed an object.

This should not happen normally but s3 can be configured with
--s3-no-head where it is happy to believe that all objects exist.
2024-06-12 17:57:28 +01:00
..
touch_test.go test: replace defer cleanup with t.Cleanup 2022-12-09 14:38:05 +00:00
touch.go touch: fix using -R on certain backends 2024-06-12 17:57:28 +01:00