Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stack.Types.PackageIndex
- data PackageDownload = PackageDownload {
- pdSHA256 :: !ByteString
- pdUrl :: !ByteString
- pdSize :: !Word64
- newtype HSPackageDownload = HSPackageDownload {}
- data PackageCache = PackageCache {
- pcOffsetSize :: !OffsetSize
- pcDownload :: !(Maybe PackageDownload)
- data PackageCacheMap = PackageCacheMap {
- pcmIdent :: !(Map PackageIdentifier PackageCache)
- pcmSHA :: !(HashMap GitSHA1 OffsetSize)
- data OffsetSize = OffsetSize !Int64 !Int64
- data PackageIndex = PackageIndex {}
- newtype IndexName = IndexName {}
- indexNameText :: IndexName -> Text
- data IndexLocation
- data SimplifiedIndexLocation
- simplifyIndexLocation :: IndexLocation -> SimplifiedIndexLocation
- data HttpType
- data HackageSecurity = HackageSecurity {
- hsKeyIds :: ![Text]
- hsKeyThreshold :: !Int
Documentation
data PackageDownload #
Constructors
PackageDownload | |
Fields
|
newtype HSPackageDownload #
Hackage Security provides a different JSON format, we'll have our own JSON parser for it.
Constructors
HSPackageDownload | |
Fields |
Instances
data PackageCache #
Constructors
PackageCache | |
Fields
|
Instances
data PackageCacheMap #
Constructors
PackageCacheMap | |
Fields
|
data OffsetSize #
offset in bytes into the 01-index.tar file for the .cabal file contents, and size in bytes of the .cabal file
Constructors
OffsetSize !Int64 !Int64 |
Instances
PackageIndex, IndexName & IndexLocation
data PackageIndex #
Information on a single package index
Constructors
PackageIndex | |
Fields
|
Instances
Unique name for a package index
Constructors
IndexName | |
Fields |
indexNameText :: IndexName -> Text #
data IndexLocation #
Location of the package index. This ensures that at least one of Git or HTTP is available.
Instances
data SimplifiedIndexLocation #
Simplified IndexLocation
, which will either be a Git repo or HTTP URL.
Constructors
HTHackageSecurity !HackageSecurity | |
HTVanilla |
data HackageSecurity #
Constructors
HackageSecurity | |
Fields
|
Instances