rclone/backend/filefabric
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 filefabric: fix listing after change of from field from "int" to int. 2021-05-18 17:11:16 +01:00
filefabric_test.go filefabric: Implement the Enterprise File Fabric backend 2020-11-25 21:11:29 +00:00
filefabric.go backends: make NewObject return fs.ErrorIsDir if possible 2021-10-14 17:15:50 +01:00