ghc-8.0.1: The GHC API

Safe HaskellSafe
LanguageHaskell2010

Fingerprint

Synopsis

Documentation

data Fingerprint :: * Source #

Constructors

Fingerprint ~Word64 ~Word64 

Instances

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