rclone/backend/mailru
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 backends: remove log.Fatal and replace with error returns #5234 2021-04-27 18:18:08 +01:00
mrhash Add mailru hash (mrhash) 2019-09-09 21:34:15 +01:00
mailru.go backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00
mailru_test.go mailru: backend for mail.ru 2019-09-09 21:56:16 +01:00