]> Sergey Matveev's repositories - public-inbox.git/commit
content_id: no need to be human-friendly
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Fri, 2 Mar 2018 18:27:54 +0000 (18:27 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Fri, 2 Mar 2018 18:28:54 +0000 (18:28 +0000)
commit9e9863aa5fb74358cd2b5960e4d8d16f1ee9fece
treedc897d6ddb7541621fe168fa14726064344c947f
parentaf2e250ca2704d06afe0a7ed862dcfca7f740de7
content_id: no need to be human-friendly

We merely use this for internal comparisons and do not store
this in Xapian.  So using a shorter, non-human readable digest
is enough.  Furthermore, introduce "content_digest" which
returns the Digest::SHA object for extra changes.
lib/PublicInbox/ContentId.pm
t/content_id.t