read package:ghc

Read the current value of Point.
Read an interface file. See Note [Deduplication during iface binary serialisation] for details.
Read an interface file header, checking the magic number, version, and way. Returns the hash of the source file and a BinHandle which points at the start of the rest of the interface file data.
Read a HieFile from a FilePath. Can use an existing NameCache.
Read a HieFile from a FilePath. Can use an existing NameCache. Allows you to specify which versions of hieFile to attempt to read. Left case returns the failing header versions.
Reading
readIface tries just the one file. Failed err = file not found, or unreadable, or illegible Succeeded iface = successfully found and parsed