Distribution.Client.Types.OverwritePolicy

cabal-install-3.12.1.0: The command-line interface for Cabal and Hackage.

Safe Haskell | None
Language | Haskell2010

Distribution.Client.Types.OverwritePolicy

# Documentation

data OverwritePolicy #

Constructors

NeverOverwrite |
AlwaysOverwrite |
PromptOverwrite |

#### Instances

Instances details

Parsec OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods parsec :: CabalParsing m => m OverwritePolicy #
Pretty OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods pretty :: OverwritePolicy -> Doc # prettyVersioned :: CabalSpecVersion -> OverwritePolicy -> Doc #
Structured OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods structure :: Proxy OverwritePolicy -> Structure # structureHash' :: Tagged OverwritePolicy MD5
Binary OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods put :: OverwritePolicy -> Put # get :: Get OverwritePolicy # putList :: [OverwritePolicy] -> Put #
Bounded OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods minBound :: OverwritePolicy # maxBound :: OverwritePolicy #
Enum OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods succ :: OverwritePolicy -> OverwritePolicy # pred :: OverwritePolicy -> OverwritePolicy # toEnum :: Int -> OverwritePolicy # fromEnum :: OverwritePolicy -> Int # enumFrom :: OverwritePolicy -> [OverwritePolicy] # enumFromThen :: OverwritePolicy -> OverwritePolicy -> [OverwritePolicy] # enumFromTo :: OverwritePolicy -> OverwritePolicy -> [OverwritePolicy] # enumFromThenTo :: OverwritePolicy -> OverwritePolicy -> OverwritePolicy -> [OverwritePolicy] #
Generic OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Associated Types
type Rep OverwritePolicy |
Instance details Defined in Distribution.Client.Types.OverwritePolicy type Rep OverwritePolicy = D1 ('MetaData "OverwritePolicy" "Distribution.Client.Types.OverwritePolicy" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "NeverOverwrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlwaysOverwrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PromptOverwrite" 'PrefixI 'False) (U1 :: Type -> Type)))
Methods from :: OverwritePolicy -> Rep OverwritePolicy x # to :: Rep OverwritePolicy x -> OverwritePolicy #
Show OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods showsPrec :: Int -> OverwritePolicy -> ShowS # show :: OverwritePolicy -> String # showList :: [OverwritePolicy] -> ShowS #
Eq OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy Methods (==) :: OverwritePolicy -> OverwritePolicy -> Bool # (/=) :: OverwritePolicy -> OverwritePolicy -> Bool #
type Rep OverwritePolicy # |
Instance details Defined in Distribution.Client.Types.OverwritePolicy type Rep OverwritePolicy = D1 ('MetaData "OverwritePolicy" "Distribution.Client.Types.OverwritePolicy" "cabal-install-3.12.1.0-G554PkJj2SpDqyarXp9tbt" 'False) (C1 ('MetaCons "NeverOverwrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "AlwaysOverwrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PromptOverwrite" 'PrefixI 'False) (U1 :: Type -> Type)))