Fix progress bar
This commit is contained in:
parent
9cd62c279d
commit
cc365e9b86
@ -125,9 +125,10 @@ std::vector<BlockId> getKnownBlockIds(const path& basedir, const CryConfigLoader
|
||||
const uint32_t numNodes = nodeStore->numNodes();
|
||||
knownBlockIds.reserve(numNodes);
|
||||
cout << "Listing all blocks used by these file system entities..." << endl;
|
||||
auto progress_bar = ProgressBar(numBlocks);
|
||||
for (const auto& blobId : knownBlobIds) {
|
||||
forEachReachableBlockInBlob(nodeStore.get(), blobId, {
|
||||
ProgressBar(numNodes).callback(),
|
||||
progress_bar.callback(),
|
||||
knownBlockIds.callback()
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user