Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. indexLookupEntry :: IndexCallbacks -> DirectoryEntry -> IO (Some IndexEntry, Maybe DirectoryEntry)

    hackage-security Hackage.Security.Client

    Look up an entry by DirectoryEntry Since these DirectoryEntrys must come from somewhere (probably from the Directory), it is assumed that they are valid; if they are not, an (unchecked) exception will be thrown. This function also returns the DirectoryEntry of the next file in the index (if any) for the benefit of clients who wish to walk through the entire index.

  2. indexLookupFile :: IndexCallbacks -> forall dec . () => IndexFile dec -> IO (Maybe (IndexEntry dec))

    hackage-security Hackage.Security.Client

    Look up an entry by IndexFile Returns Nothing if the IndexFile does not refer to an existing file.

  3. indexLookupFileEntry :: IndexCallbacks -> forall dec . () => DirectoryEntry -> IndexFile dec -> IO (IndexEntry dec)

    hackage-security Hackage.Security.Client

    Variation if both the DirectoryEntry and the IndexFile are known You might use this when scanning the index using directoryEntries.

  4. indexLookupFileInfo :: IndexCallbacks -> (Throws InvalidPackageException, Throws VerificationError) => PackageIdentifier -> IO (Trusted FileInfo)

    hackage-security Hackage.Security.Client

    Get file info (including hash) (wrapper around indexLookupFile)

  5. indexLookupHash :: IndexCallbacks -> (Throws InvalidPackageException, Throws VerificationError) => PackageIdentifier -> IO (Trusted Hash)

    hackage-security Hackage.Security.Client

    Get the SHA256 hash for a package (wrapper around indexLookupInfo) In addition to the exceptions thrown by indexLookupInfo, this will also throw an exception if the SHA256 is not listed in the FileMap (again, this will not happen with a well-formed Hackage index.)

  6. indexLookupMetadata :: IndexCallbacks -> Throws InvalidPackageException => PackageIdentifier -> IO (Trusted Targets)

    hackage-security Hackage.Security.Client

    Lookup package metadata (wrapper around indexLookupFile) This will throw an (unchecked) exception if the targets.json file could not be parsed.

  7. targetsLookup :: TargetPath -> Targets -> Maybe FileInfo

    hackage-security Hackage.Security.Client

    No documentation available.

  8. formatsLookup :: HasFormat fs f -> Formats fs a -> a

    hackage-security Hackage.Security.Client.Formats

    No documentation available.

  9. targetsLookup :: TargetPath -> Targets -> Maybe FileInfo

    hackage-security Hackage.Security.Server

    No documentation available.

  10. tarIndexLookup :: TarIndex -> Path Tar -> Maybe TarIndexEntry

    hackage-security Hackage.Security.Util.Path

    No documentation available.

Page 154 of many | Previous | Next