Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stack.Types.PackageIndex
- data PackageDownload = PackageDownload {
- pdSHA512 :: !ByteString
- pdUrl :: !ByteString
- pdSize :: !Word64
- data PackageCache = PackageCache {
- pcOffset :: !Int64
- pcSize :: !Int64
- pcDownload :: !(Maybe PackageDownload)
- newtype PackageCacheMap = PackageCacheMap (Map PackageIdentifier PackageCache)
- data PackageIndex = PackageIndex {}
- newtype IndexName = IndexName {}
- indexNameText :: IndexName -> Text
- data IndexLocation
Documentation
data PackageDownload Source
Constructors
PackageDownload | |
Fields
|
data PackageCache Source
Constructors
PackageCache | |
Fields
|
newtype PackageCacheMap Source
Constructors
PackageCacheMap (Map PackageIdentifier PackageCache) |
PackageIndex, IndexName & IndexLocation
data PackageIndex Source
Information on a single package index
Constructors
PackageIndex | |
Fields
|
Instances
Unique name for a package index
Constructors
IndexName | |
Fields |
indexNameText :: IndexName -> Text Source
data IndexLocation Source
Location of the package index. This ensures that at least one of Git or HTTP is available.
Instances