]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/MID.pm
mid: mid_compressed => mid_compress
[public-inbox.git] / lib / PublicInbox / MID.pm
index 2f0c09fb843e770b9307fcca31405ec4fd362275..02ac7095dd1f39503f75568554b93e510dbad091 100644 (file)
@@ -4,7 +4,7 @@ package PublicInbox::MID;
 use strict;
 use warnings;
 use base qw/Exporter/;
-our @EXPORT_OK = qw/mid_clean mid_compressed mid2path/;
+our @EXPORT_OK = qw/mid_clean mid_compress mid2path/;
 use Digest::SHA qw/sha1_hex/;
 use constant MID_MAX => 40; # SHA-1 hex length
 
@@ -18,7 +18,7 @@ sub mid_clean {
 }
 
 # this is idempotent
-sub mid_compressed {
+sub mid_compress {
        my ($mid, $force) = @_;
 
        # XXX dirty hack! FIXME!