Dump blocks in verbose mode - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit fe4061d87b77bf2789310758b799078da594f2bf
DIR parent cf5881ad53bdf66d5b1a097dcd2ac21510b554e6
HTML Author: sin <sin@2f30.org>
Date: Tue, 20 Mar 2018 17:58:36 +0000
Dump blocks in verbose mode
Diffstat:
M dedup.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/dedup.c b/dedup.c
@@ -183,6 +183,8 @@ dedup(int fd)
blk.sz = n;
hash_blk(&blk);
+ if (verbose)
+ dump_blk(&blk);
SHA256_Update(&ctx, blk.data, blk.sz);
ent = grow_ent(ent, ent->nblks + 1);