From: Eric Wong Date: Mon, 1 Feb 2021 08:28:21 +0000 (-1000) Subject: lei_dedupe: use Digest::SHA X-Git-Tag: v1.7.0~1260 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;ds=sidebyside;h=f15e81550811c875c24e0cffe05d8400ffa8daf2;p=public-inbox.git lei_dedupe: use Digest::SHA While it's loaded by ContentHash, we use Digest::SHA directly in this package for smsg and OID-only deduplication. --- 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);