ghc-8.8.3: The GHC API
Safe HaskellNone
LanguageHaskell2010

Fingerprint

Synopsis

Documentation

Re-exported from GHC.Fingerprint

data Fingerprint #

Constructors

Fingerprint !Word64 !Word64 

Instances

Instances details
Eq Fingerprint

Since: base-4.4.0.0

Instance details

Defined in GHC.Fingerprint.Type

Ord Fingerprint

Since: base-4.4.0.0

Instance details

Defined in GHC.Fingerprint.Type

Show Fingerprint

Since: base-4.7.0.0

Instance details

Defined in GHC.Fingerprint.Type

Storable Fingerprint

Since: base-4.4.0.0

Instance details

Defined in Foreign.Storable

Binary Fingerprint

Since: binary-0.7.6.0

Instance details

Defined in Data.Binary.Class

NFData Fingerprint

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Fingerprint -> () #

Outputable Fingerprint Source # 
Instance details

Defined in Outputable

Binary Fingerprint Source # 
Instance details

Defined in Binary

getFileHash :: FilePath -> IO Fingerprint #

Computes the hash of a given file. This function loops over the handle, running in constant memory.

Since: base-4.7.0.0