cmd: add --dedup-stats flag to ls; show per-file dedup stats#102
cmd: add --dedup-stats flag to ls; show per-file dedup stats#102S4tvara merged 5 commits intoS4tvara:mainfrom
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Hi @Janmesh23, |
|
Hi @SubstantialCattle5 , thank you for reviewing , i would appreciate if you can tell me more about from where can i see the suggestions/changes (i'm a first time contributor hence need some help navigating ) |
|
The Codecov report shows that the patch coverage for this PR is only 2.94%, with 99 lines in |
sure , i'll get on it |
@Janmesh23 ,
|
…tion to internal/deduplication; update tests
|
Refactored dedup logic for better modularity and testability. |
|
you’ve committed your test vaults and Cheers, |
yeah my bad , doing it right away :) edit - done 👍 |
@Janmesh23
please follow the commit message guidelines explained in the `CONTRIBUTING.md`. Also, squash all your commits.
|
|
@Janmesh23, Cheers, |
yess sure ! |
|
Sure just drop me a message whichever one you're interested in. |







This PR adds a
--dedup-stats(-d) flag tosietch ls. When enabled,lswill:shared_chunks).saved) using per-chunk EncryptedSize (fallbacks to Size, then 4MiB default).shared_with) — truncated to first 10 entries.Notes:
(refs-1)*chunkSizeaggregated per chunk; can be implemented in a follow-up PR.computeDedupStatsForFile.sietch ls --dedup-statssietch ls -l -dFixes: #96