License | Apache-2.0 |
---|---|
Safe Haskell | Safe |
Language | Haskell2010 |
CabalHelper.Shared.InterfaceTypes
Description
These types are used to communicate between the cabal-helper library and helper
executable, using Show/Read. If any types in this module change the major
version must be bumped since this will be exposed in the Distribution.Helper
module.
The cached executables in $XDG_CACHE_HOME/cabal-helper
use the cabal-helper
version (among other things) as a cache key so we don't need to worry about
talking to an old executable.
Documentation
data ChResponse Source #
Constructors
ChResponseComponentsInfo (Map ChComponentName ChComponentInfo) | |
ChResponseList [String] | |
ChResponseLbi String | |
ChResponseVersion (String, Version) | |
ChResponseFlags [(String, Bool)] |
Instances
data ChComponentName Source #
Constructors
ChSetupHsName | |
ChLibName ChLibraryName | |
ChFLibName String | |
ChExeName String | |
ChTestName String | |
ChBenchName String |
Instances
data ChLibraryName Source #
Constructors
ChMainLibName | |
ChSubLibName String |
Instances
newtype ChModuleName Source #
Constructors
ChModuleName | |
Fields |
Instances
data ChComponentInfo Source #
Constructors
ChComponentInfo | |
Fields
|
Instances
data ChEntrypoint Source #
Constructors
ChSetupEntrypoint | |
ChLibEntrypoint | |
Fields
| |
ChExeEntrypoint | |
Fields
|
Instances
Constructors
ChPkgGlobal | |
ChPkgUser | |
ChPkgSpecific FilePath |
Instances
Eq ChPkgDb Source # | |
Ord ChPkgDb Source # | |
Defined in CabalHelper.Shared.InterfaceTypes | |
Read ChPkgDb Source # | |
Show ChPkgDb Source # | |
Generic ChPkgDb Source # | |
type Rep ChPkgDb Source # | |
Defined in CabalHelper.Shared.InterfaceTypes type Rep ChPkgDb = D1 (MetaData "ChPkgDb" "CabalHelper.Shared.InterfaceTypes" "cabal-helper-1.0.0.0-BsnHMZoAsgD2CUc6FeI9Me-c-h-internal" False) (C1 (MetaCons "ChPkgGlobal" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "ChPkgUser" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ChPkgSpecific" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 FilePath)))) |