rclone/backend/onedrive
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 onedrive: enhance link creation with expiry, scope, type and password 2021-01-08 09:22:50 +00:00
quickxorhash all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
onedrive.go backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00