Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A 40-byte hex representation of a SHA1 hash.
validSha1Hex :: Sha1Hex -> Bool Source #
Ensure a Sha1Hex
is valid (that is, is 40 bytes long and consists only of hex characters).
class HasSha1 a where Source #
A Hashable
-alike for Sha1
s.
Instances
HasSha1 ByteString Source # | Direct SHA1 of a lazy bytestring. |
Defined in Data.Git.Hash sha1 :: ByteString -> Sha1 Source # | |
HasSha1 ByteString Source # | Direct SHA1 of a bytestring. |
Defined in Data.Git.Hash sha1 :: ByteString -> Sha1 Source # | |
HasSha1 Tag Source # | |
HasSha1 Object Source # | |
HasSha1 Commit Source # | |
HasSha1 Tree Source # | |
HasSha1 Blob Source # | |