mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
3fbaa4c0b0
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 |
||
---|---|---|
.. | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
sftp.go | ||
stringlock_test.go | ||
stringlock.go |