Safe Haskell | None |
---|---|
Language | Haskell2010 |
- readHexFingerprint :: String -> Fingerprint
- fingerprintByteString :: ByteString -> Fingerprint
- data Fingerprint :: * = Fingerprint !Word64 !Word64
- fingerprint0 :: Fingerprint
- fingerprintFingerprints :: [Fingerprint] -> Fingerprint
- fingerprintData :: Ptr Word8 -> Int -> IO Fingerprint
- fingerprintString :: String -> Fingerprint
- getFileHash :: FilePath -> IO Fingerprint
Documentation
Re-exported from GHC.Fingerprint
data Fingerprint :: * Source #
Eq Fingerprint | |
Ord Fingerprint | |
Show Fingerprint | Since: 4.7.0.0 |
Storable Fingerprint | Since: 4.4.0.0 |
NFData Fingerprint | Since: 1.4.0.0 |
Binary Fingerprint | Since: 0.7.6.0 |
Outputable Fingerprint # | |
Binary Fingerprint # | |
fingerprintData :: Ptr Word8 -> Int -> IO Fingerprint Source #
getFileHash :: FilePath -> IO Fingerprint Source #
Computes the hash of a given file. This function loops over the handle, running in constant memory.
Since: 4.7.0.0