kubo/core
Hector Sanjuan 79b388c690 Feat: use datastore.DiskUsage() and add --size-only to "repo stat"
This makes use of the PersistentDatastore DiskUsage method to
obtain the Repo's storage usage (GetStorageUsage()).

Additionally, the --size-only flag has been added to the
"ipfs repo stat" command. This avoids counting the number of objects
in the repository and returns faster.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-07-08 13:01:46 +02:00
..
commands Feat: use datastore.DiskUsage() and add --size-only to "repo stat" 2018-07-08 13:01:46 +02:00
coreapi gx update 2018-06-26 17:11:33 -07:00
coredag gx update go-log, sys, go-crypto 2018-06-08 22:36:24 -07:00
corehttp gx update 2018-06-26 17:11:33 -07:00
corerepo Feat: use datastore.DiskUsage() and add --size-only to "repo stat" 2018-07-08 13:01:46 +02:00
coreunix Fix wrong added filename 2018-06-28 09:07:23 -04:00
mock gx update 2018-06-26 17:11:33 -07:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
bootstrap_test.go gx update 2018-06-26 17:11:33 -07:00
bootstrap.go gx update 2018-06-26 17:11:33 -07:00
builder.go gx update 2018-06-26 17:11:33 -07:00
core_test.go update deps 2018-05-31 17:59:17 -07:00
core.go gx update 2018-06-26 17:11:33 -07:00
pathresolver_test.go make path resolver no longer require whole node for construction 2016-10-25 15:04:44 -07:00
pathresolver.go gx update 2018-06-26 17:11:33 -07:00