update
This commit is contained in:
parent
673065ea05
commit
dff511a2fe
1 changed files with 10 additions and 0 deletions
|
@ -62,4 +62,14 @@ That's not a lot more verbose than the earlier version, and it ensures that
|
||||||
consumers of the progress objects have all possible information available
|
consumers of the progress objects have all possible information available
|
||||||
(including the name of the remote being downloaded from in the above
|
(including the name of the remote being downloaded from in the above
|
||||||
example).
|
example).
|
||||||
|
|
||||||
|
Less verbose version:
|
||||||
|
|
||||||
|
{"progress-id":"1","action":{"command":"get","key":"SHA256E-s5242880--82cb4363f596cb66e7bc6e4cbfd2bfe8a8b6ac7e6d02557cc0e3944ec8faafc3","file":"bar","note":"from d1..."}}
|
||||||
|
{"progress-id":"1","percent-progress":"25%","byte-progress":500}
|
||||||
|
{"progress-id":"1","percent-progress":"75%","byte-progress":1500}
|
||||||
|
{"command":"get","key":"SHA256E-s5242880--82cb4363f596cb66e7bc6e4cbfd2bfe8a8b6ac7e6d02557cc0e3944ec8faafc3","file":"bar","note":"from d1...","success":true}
|
||||||
|
|
||||||
|
Makes the consumer's job a bit more complicated, and could also make the
|
||||||
|
implementation in git-annex harder. Is it worth it?
|
||||||
"""]]
|
"""]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue