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
..
2021-04-26 23:37:49 +02:00
2021-04-13 17:46:07 +02:00
2021-09-09 20:43:59 +03:00
2021-09-09 20:43:59 +03:00
2021-04-27 02:25:52 +03:00
2021-10-14 17:15:50 +01:00
2021-10-11 15:08:35 +02:00
2021-10-13 16:18:08 +03:00
2021-10-09 18:22:38 +02:00
2021-10-12 17:12:41 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-07-06 14:58:50 +02:00
2021-10-14 17:15:50 +01:00
2021-10-01 10:09:57 +03:00
2021-05-28 14:44:50 +01:00
2021-08-19 16:38:31 +01:00
2021-09-09 20:43:59 +03:00
2021-04-26 23:37:49 +02:00
2021-05-14 14:07:44 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2020-11-27 14:40:05 +00:00
2021-10-14 17:15:50 +01:00
2021-04-27 02:25:52 +03:00
2021-09-17 10:43:45 +01:00
2021-05-14 14:07:44 +01:00
2021-10-14 17:15:50 +01:00
2021-09-09 20:43:59 +03:00
2021-10-14 11:19:38 +01:00
2021-09-18 12:44:59 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-08-14 12:53:36 +01:00
2021-04-27 02:25:52 +03:00
2021-09-09 20:43:59 +03:00
2021-09-30 20:09:02 +01:00
2021-04-27 18:18:08 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00
2021-10-14 17:15:50 +01:00