Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data DumpPackage = DumpPackage {
- ghcPkgId :: !GhcPkgId
- packageIdent :: !PackageIdentifier
- sublib :: !(Maybe SublibDump)
- license :: !(Maybe License)
- libDirs :: ![FilePath]
- libraries :: ![Text]
- hasExposedModules :: !Bool
- exposedModules :: !(Set ModuleName)
- depends :: ![GhcPkgId]
- haddockInterfaces :: ![FilePath]
- haddockHtml :: !(Maybe FilePath)
- isExposed :: !Bool
- data SublibDump = SublibDump {}
- type DumpedGlobalPackage = DumpPackage
- sublibParentPkgId :: DumpPackage -> Maybe PackageIdentifier
Documentation
data DumpPackage Source #
Type representing dump information for a single installed package, as
output by the ghc-pkg describe
command.
DumpPackage | |
|
Instances
Read DumpPackage Source # | |
Defined in Stack.Types.DumpPackage readsPrec :: Int -> ReadS DumpPackage # readList :: ReadS [DumpPackage] # readPrec :: ReadPrec DumpPackage # readListPrec :: ReadPrec [DumpPackage] # | |
Show DumpPackage Source # | |
Defined in Stack.Types.DumpPackage showsPrec :: Int -> DumpPackage -> ShowS # show :: DumpPackage -> String # showList :: [DumpPackage] -> ShowS # | |
Eq DumpPackage Source # | |
Defined in Stack.Types.DumpPackage (==) :: DumpPackage -> DumpPackage -> Bool # (/=) :: DumpPackage -> DumpPackage -> Bool # |
data SublibDump Source #
An installed package for a sub-library of a Cabal package has additional fields.
SublibDump | |
|
Instances
Read SublibDump Source # | |
Defined in Stack.Types.DumpPackage readsPrec :: Int -> ReadS SublibDump # readList :: ReadS [SublibDump] # readPrec :: ReadPrec SublibDump # readListPrec :: ReadPrec [SublibDump] # | |
Show SublibDump Source # | |
Defined in Stack.Types.DumpPackage showsPrec :: Int -> SublibDump -> ShowS # show :: SublibDump -> String # showList :: [SublibDump] -> ShowS # | |
Eq SublibDump Source # | |
Defined in Stack.Types.DumpPackage (==) :: SublibDump -> SublibDump -> Bool # (/=) :: SublibDump -> SublibDump -> Bool # |
type DumpedGlobalPackage = DumpPackage Source #
Type synonym representing dump information for a single installed package in the global package database.
sublibParentPkgId :: DumpPackage -> Maybe PackageIdentifier Source #
If the given DumpPackage
is for a sub-library of a Cabal package, yields
the package identifier of the Cabal package.