diff options
author | Eric Wong <e@80x24.org> | 2015-08-25 02:03:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-08-25 03:52:50 +0000 |
commit | dbcc775378359cf41e57b9e9aa0ca6553722b479 (patch) | |
tree | d26c7133fc5f31148754d317373a00450679c3cf /lib/PublicInbox/MID.pm | |
parent | 04939d5db13168e127c6b18dd366c21c16cf170a (diff) | |
download | public-inbox-dbcc775378359cf41e57b9e9aa0ca6553722b479.tar.gz |
mid: mid_compressed => mid_compress
Consistently name mid_* functions as verbs.
Diffstat (limited to 'lib/PublicInbox/MID.pm')
-rw-r--r-- | lib/PublicInbox/MID.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/MID.pm b/lib/PublicInbox/MID.pm index 2f0c09fb..02ac7095 100644 --- a/lib/PublicInbox/MID.pm +++ b/lib/PublicInbox/MID.pm @@ -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! |