Add PersistentDatastore interface and implement it on wrappers
This adds a PersistentDatastore interface which allows datastores to report DiskUsage(). It implementes the interface on all wrapper types, which return 0 if the wrapped datastore does not provide this method. Related: https://github.com/ipfs/go-ipfs/pull/4550
Showing
Please register or sign in to comment