Safe Haskell | Safe-Inferred |
---|
- data Fingerprint = Fingerprint !Word64 !Word64
- fingerprint0 :: Fingerprint
- readHexFingerprint :: String -> Fingerprint
- fingerprintData :: Ptr Word8 -> Int -> IO Fingerprint
- fingerprintString :: String -> Fingerprint
- getFileHash :: FilePath -> IO Fingerprint
Documentation
data Fingerprint Source
fingerprintData :: Ptr Word8 -> Int -> IO FingerprintSource
getFileHash :: FilePath -> IO FingerprintSource
Computes the hash of a given file. This function loops over the handle, running in constant memory.