ghc-8.0.0.20160421: The GHC API

Safe HaskellSafe
LanguageHaskell2010

Fingerprint

Synopsis

Documentation

data Fingerprint :: * Source #

Constructors

Fingerprint ~Word64 ~Word64 

Instances

Eq Fingerprint 
Ord Fingerprint 
Show Fingerprint 
Storable Fingerprint 
Binary Fingerprint

Since: 0.7.6.0

Outputable Fingerprint # 
Binary Fingerprint # 

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