rclone/fs
Aleksandar Jankovic 4ba6532915 accounting: make stats response consistent
core/stats can return two different schemas in 'transferring' field.
One is object with fields the other is just plain string.
This is confusing, unnecessary and makes defining response schema
more difficult. It also returns `lastError` as value which can be
rendered differently depending on source of error.

This change standardizes 'transferring' filed to always return
object but with reduced fields if they are not available.
Former string item is converted to {name:remote_name} object.

'lastError' is forced to be a string as in some cases it can be encoded
as an object.
2019-07-28 14:48:19 +01:00
..
accounting accounting: make stats response consistent 2019-07-28 14:48:19 +01:00
asyncreader fs/asyncreader: optionally user mmap for memory allocation with --use-mmap #2200 2019-02-02 14:35:56 +00:00
cache fs/cache: fix locking 2019-06-19 10:50:59 +01:00
chunkedreader Add context propagation to rclone 2019-06-19 11:59:46 +01:00
config accounting: add limits and listing to stats groups 2019-07-28 14:48:19 +01:00
dirtree dirtree: make tests more reliable 2019-07-02 16:29:40 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter Add context propagation to rclone 2019-06-19 11:59:46 +01:00
fserrors fserrors: use errors.Walk for the wrapped error types 2019-05-01 16:56:08 +01:00
fshttp copyurl: honor --no-check-certificate 2019-05-11 17:44:58 +01:00
fspath backend: unify NewFs path handling for wrapping remotes 2018-10-10 17:50:27 +01:00
hash fichier: 1fichier support - fixes #2908 2019-06-30 18:35:01 +01:00
list Add context propagation to rclone 2019-06-19 11:59:46 +01:00
log log: add --use-json-log for JSON logging 2019-07-28 12:05:50 +01:00
march fs/dirtree: factor DirTree out of fs/walk and add tests 2019-07-02 15:26:55 +01:00
object Add context propagation to rclone 2019-06-19 11:59:46 +01:00
operations accounting: add reference to completed transfers 2019-07-28 14:48:19 +01:00
rc accounting: isolate stats to groups 2019-07-28 14:48:19 +01:00
sync accounting: add reference to completed transfers 2019-07-28 14:48:19 +01:00
version cmd/version: factor version number parsing routines into fs/version 2018-11-05 15:44:40 +00:00
walk fs/dirtree: factor DirTree out of fs/walk and add tests 2019-07-02 15:26:55 +01:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config.go accounting: add limits and listing to stats groups 2019-07-28 14:48:19 +01:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
direntries_test.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
direntries.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
dump_test.go Fix broken flag type tests 2019-02-07 16:42:26 +00:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
fs_test.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
fs.go fstest: add fs.ErrorCantShareDirectories for backends which can only share files 2019-07-24 20:34:29 +01:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
log.go log: add --use-json-log for JSON logging 2019-07-28 12:05:50 +01:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
options_test.go fs: Adjust RangeOption.Decode to return -1 for read to end 2018-01-27 14:31:29 +00:00
options.go fix spelling 2019-04-30 14:12:18 +02:00
parseduration_test.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
parseduration.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
version.go Start v1.48.0-DEV development 2019-06-15 18:32:17 +01:00
versioncheck.go build: drop support for go1.8 2019-04-15 21:49:58 +01:00