rclone/backend
Nick Craig-Wood 2f5a2d3c48 drive: Don't return nil Object with nil error from newObject* functions.
Before this change the newObject* functions could return object=nil
with err=nil.  The result of these functions are passed outside of the
backend code (eg in Copy, Move) and returning a nil object with a nil
error leads to crashes elsewhere as it breaks expectations.

After this change we return (nil, fs.ErrorObjectNotFound) in these
cases. The one place this is actually needd internally (when turning
items into listings) we detect that error and use it to mean skip the
directory item.

This problem was noticed while testing the shortcuts code. It
shouldn't happen normally but it is conceivable it could.
2020-04-30 17:11:36 +01:00
..
alias build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
all The memory backend 2020-01-18 10:41:08 +00:00
amazonclouddrive backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
azureblob azureblob: implement memory pooling to control memory use 2020-04-28 17:47:10 +01:00
b2 b2: force the case of the SHA1 to lowercase - fixes #4162 2020-04-29 17:08:21 +01:00
box box: Remove unnecessary iat from jws claims 2020-04-23 17:52:14 +01:00
cache cache: implement rclone backend stats command 2020-04-29 10:10:57 +01:00
chunker chunker: reduce length of temporary suffix 2019-12-09 16:56:32 +00:00
crypt crypt: calculate hashes for uploads from local disk 2020-04-22 11:33:48 +01:00
drive drive: Don't return nil Object with nil error from newObject* functions. 2020-04-30 17:11:36 +01:00
dropbox dropbox: make error insufficient space to be fatal 2020-03-26 16:19:50 +00:00
fichier fichier: implement custom pacer to deal with the new rate limiting 2020-04-26 20:38:56 +02:00
ftp ftp: attempt to work-around pureftp sending spurious 150 messages 2020-03-01 09:17:51 +00:00
googlecloudstorage googlecloudstorage: Add ARCHIVE storage class to help 2020-04-27 11:40:21 +01:00
googlephotos googlephotos: don't put an image in error message - fixes #4144 2020-04-28 16:51:47 +01:00
http fstest: create AssertTimeEqualWithPrecision from CheckTimeEqualWithPrecision 2020-04-22 11:33:00 +01:00
hubic Add context to all http.NewRequest #3257 2019-09-09 23:27:07 +01:00
jottacloud jottacloud: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
koofr backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
local local: implement backend command "noop" for testing purposes 2020-04-29 10:10:57 +01:00
mailru backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
mega backends: move encoding definitions from fs/encodings 2020-01-16 14:40:36 +00:00
memory The memory backend 2020-01-18 10:41:08 +00:00
onedrive onedrive: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
opendrive opendrive: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
pcloud pcloud: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
premiumizeme premiumizeme: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
putio putio: add support for --header-upload and --header-download #59 2020-04-23 15:55:52 +01:00
qingstor qingstor: make rclone cleanup remove pending multipart uploads older than 24h 2020-03-18 12:49:21 +00:00
s3 s3: improve docs for --s3-disable-checksum 2020-04-28 17:47:10 +01:00
sftp build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
sharefile sharefile: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
sugarsync sugarsync: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
swift swift: add support for --header-upload and --header-download #59 2020-04-23 11:34:36 +01:00
union union: Implement multiple writable remotes 2020-03-21 18:11:24 +00:00
webdav webdav: pass options to rest.Opts for Put and Update 2020-04-23 11:07:21 +01:00
yandex yandex: pass options to rest.Opts for upload 2020-04-23 11:07:21 +01:00