tDump blocks in verbose mode - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fe4061d87b77bf2789310758b799078da594f2bf
(DIR) parent cf5881ad53bdf66d5b1a097dcd2ac21510b554e6
(HTM) 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
t@@ -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);