W3cubDocs

/Haskell 8

GHC.Fingerprint

Safe Haskell Trustworthy
Language Haskell2010

data Fingerprint Source

Constructors

Fingerprint !Word64 !Word64

fingerprint0 :: Fingerprint Source

fingerprintData :: Ptr Word8 -> Int -> IO Fingerprint Source

fingerprintString :: String -> Fingerprint Source

fingerprintFingerprints :: [Fingerprint] -> 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: base-4.7.0.0

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.6.1/docs/html/libraries/base-4.12.0.0/GHC-Fingerprint.html