rclone/backend/sharefile
Nick Craig-Wood 3fbaa4c0b0 backends: make NewObject return fs.ErrorIsDir if possible
This changes the interface to NewObject so that if NewObject is called
on a directory then it should return fs.ErrorIsDir if possible without
doing any extra work, otherwise fs.ErrorObjectNotFound.

Tested on integration test server with:

go run integration-test.go -tests backend -run TestIntegration/FsMkdir/FsPutFiles/FsNewObjectDir -branch fix-stat -maxtries 1
2021-10-14 17:15:50 +01:00
..
api Revert "sharefile: fix backend due to API swapping integers for strings" 2020-11-25 20:52:57 +00:00
generate_tzdata.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sharefile.go backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00
sharefile_test.go New backend for Citrix Sharefile - Fixes #1543 2019-09-30 12:28:33 +01:00
tzdata_vfsdata.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
update-timezone.sh New backend for Citrix Sharefile - Fixes #1543 2019-09-30 12:28:33 +01:00
upload.go Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00