about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-31 22:28:21 -1000
committerEric Wong <e@80x24.org>2021-02-01 11:38:15 +0000
commitf15e81550811c875c24e0cffe05d8400ffa8daf2 (patch)
tree96988cea9c4d48f897c5cdaf058aa4194935d077 /lib
parent59ff0aa24dc4c27fc05a36e97526ae4b0c163f65 (diff)
downloadpublic-inbox-f15e81550811c875c24e0cffe05d8400ffa8daf2.tar.gz
While it's loaded by ContentHash, we use Digest::SHA directly in
this package for smsg and OID-only deduplication.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/LeiDedupe.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiDedupe.pm b/lib/PublicInbox/LeiDedupe.pm
index e3ae8e33..55488376 100644
--- a/lib/PublicInbox/LeiDedupe.pm
+++ b/lib/PublicInbox/LeiDedupe.pm
@@ -5,6 +5,7 @@ use strict;
 use v5.10.1;
 use PublicInbox::SharedKV;
 use PublicInbox::ContentHash qw(content_hash);
+use Digest::SHA ();
 
 # n.b. mutt sets most of these headers not sure about Bytes
 our @OID_IGNORE = qw(Status X-Status Content-Length Lines Bytes);