loader-core: Unify counter with the storage's results
The storage *_add
(content, directory, revision, etc...) endpoints returns a summary of what has been added to the archive.
We can now lift that in the loader-core to unify the counters.
Migrated from T1626 (view on Phabricator)