stack-1.2.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Types.PackageIndex

Contents

Synopsis

Documentation

data PackageCache Source

Constructors

PackageCache 

Fields

pcOffset :: !Int64

offset in bytes into the 00-index.tar file for the .cabal file contents

pcSize :: !Int64

size in bytes of the .cabal file

pcDownload :: !(Maybe PackageDownload)
 

PackageIndex, IndexName & IndexLocation

data PackageIndex Source

Information on a single package index

Constructors

PackageIndex 

Fields

indexName :: !IndexName
 
indexLocation :: !IndexLocation
 
indexDownloadPrefix :: !Text

URL prefix for downloading packages

indexGpgVerify :: !Bool

GPG-verify the package index during download. Only applies to Git repositories for now.

indexRequireHashes :: !Bool

Require that hashes and package size information be available for packages in this index

data IndexLocation Source

Location of the package index. This ensures that at least one of Git or HTTP is available.

Constructors

ILGit !Text 
ILHttp !Text 
ILGitHttp !Text !Text