ghc-8.4.4: 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

Defined in GHC.Fingerprint.Type

Ord Fingerprint 
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

NFData Fingerprint

Since: deepseq-1.4.0.0

Instance details

Defined in Control.DeepSeq

Methods

rnf :: Fingerprint -> () Source #

Binary Fingerprint

Since: 0.7.6.0

Instance details

Defined in Data.Binary.Class

Outputable Fingerprint Source # 
Instance details

Defined in Outputable

Binary Fingerprint Source # 
Instance details

Defined in Binary

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