tools/compare: print number of destination chunks
This commit is contained in:
parent
394d5c95dc
commit
effa2f6ec1
@ -212,6 +212,7 @@ int main (int argc, char const **argv)
|
|||||||
std::clog << "Hashing target\n";
|
std::clog << "Hashing target\n";
|
||||||
emory::map target (cruft::mapped_file (argv[ARGS_TARGET]), p);
|
emory::map target (cruft::mapped_file (argv[ARGS_TARGET]), p);
|
||||||
std::sort (target.elements.begin (), target.elements.end (), emory::chunk::digest_ordering {});
|
std::sort (target.elements.begin (), target.elements.end (), emory::chunk::digest_ordering {});
|
||||||
|
std::cout << "Found " << target.elements.size () << " chunks\n";
|
||||||
|
|
||||||
std::vector<emory::match<int>> found;
|
std::vector<emory::match<int>> found;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user