]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_dedupe: use Digest::SHA
authorEric Wong <e@80x24.org>
Mon, 1 Feb 2021 08:28:21 +0000 (22:28 -1000)
committerEric Wong <e@80x24.org>
Mon, 1 Feb 2021 11:38:15 +0000 (11:38 +0000)
While it's loaded by ContentHash, we use Digest::SHA directly in
this package for smsg and OID-only deduplication.

lib/PublicInbox/LeiDedupe.pm

index e3ae8e33c36642be9bb57aa492884fc6487a06c4..554883766c02ecf18fa06467380ac49bd7ea8623 100644 (file)
@@ -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);