ghc-8.4.1: The GHC API

Safe HaskellNone
LanguageHaskell2010

Fingerprint

Contents

Synopsis

Documentation

Re-exported from GHC.Fingerprint

data Fingerprint Source #

Constructors

Fingerprint !Word64 !Word64 
Instances
Eq Fingerprint 
Instance details
Ord Fingerprint 
Instance details
Show Fingerprint

Since: 4.7.0.0

Instance details
Storable Fingerprint

Since: 4.4.0.0

Instance details
NFData Fingerprint

Since: 1.4.0.0

Instance details

Methods

rnf :: Fingerprint -> () Source #

Binary Fingerprint

Since: 0.7.6.0

Instance details
Outputable Fingerprint Source # 
Instance details
Binary Fingerprint Source # 
Instance details

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