HomePhabricator

hashutil: new package for hashing-related features

Authored by durin42.

Description

hashutil: new package for hashing-related features

Right now this just tries to use our sha1dc and if it's missing (eg a
--pure build) we fall back to hashlib. I imagine in the future we'll
want some other things in here for detecting what hasher is in use as
we transition off sha1.

Differential Revision: https://phab.mercurial-scm.org/D7848

Details

Committed
durin42Mon, Jan 13, 5:14 PM
Differential Revision
D7848: hashutil: new package for hashing-related features
Parents
rHGbde1cd4c99d9: sha1dc: initial implementation of Python extension
Branches
Unknown
Tags
Unknown