rclone/backend
Nick Craig-Wood a0c65deca8 box: Parse file/directory size as a floating point number
Very large directories can have their sizes returned as floating point
numbers, eg `1.0034576985781e+14` from the box API.

Before this change this would fail to parse as an int64.

This change parses the size as a float64 instead which will be
perfectly accurate for sizes up to 2**56 which is about 9 PB.

It is unknown whether box themselves use a float64 as an intermediate
representation in the API or not - it seems likely.

Fixes #2261
2018-04-19 21:04:52 +01:00
..
alias alias: add new backend to create aliases for remote names #1049 2018-02-06 18:23:47 +00:00
all Add a mega.nz remote #163 2018-04-18 21:09:54 +01:00
amazonclouddrive Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
azureblob Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
b2 Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
box box: Parse file/directory size as a floating point number 2018-04-19 21:04:52 +01:00
cache about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
crypt about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
drive about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
dropbox about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
ftp Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
googlecloudstorage Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
http backend/http: if HEAD didn't return Content-Length use -1 as size 2018-04-16 19:40:02 +01:00
hubic Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
local about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
mega Add a mega.nz remote #163 2018-04-18 21:09:54 +01:00
onedrive about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
pcloud about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
qingstor Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
s3 s3: add in config for all the supported S3 providers #2140 2018-04-13 16:33:26 +01:00
sftp Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
swift about: complete other providers and re-work internals 2018-04-17 21:53:27 +01:00
webdav Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00
yandex Make integration tests use go1.7+ nested tests #2154 2018-04-08 15:04:14 +01:00