cabal-install-3.10.1.0: The command-line interface for Cabal and Hackage.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.Client.Types.SourceRepo

Synopsis

Documentation

data SourceRepositoryPackage f Source #

source-repository-package definition

Instances

Instances details
(Typeable f, Structured (f FilePath)) => Structured (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

Generic (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

Associated Types

type Rep (SourceRepositoryPackage f) :: Type -> Type #

Show (f FilePath) => Show (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

Binary (f FilePath) => Binary (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

Eq (f FilePath) => Eq (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

Ord (f FilePath) => Ord (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

type Rep (SourceRepositoryPackage f) Source # 
Instance details

Defined in Distribution.Client.Types.SourceRepo

type Rep (SourceRepositoryPackage f) = D1 ('MetaData "SourceRepositoryPackage" "Distribution.Client.Types.SourceRepo" "cabal-install-3.10.1.0-FbhGUvZ0l0XIx7QbOQfSVh" 'False) (C1 ('MetaCons "SourceRepositoryPackage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "srpType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 RepoType) :*: (S1 ('MetaSel ('Just "srpLocation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String) :*: S1 ('MetaSel ('Just "srpTag") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe String)))) :*: (S1 ('MetaSel ('Just "srpBranch") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just "srpSubdir") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (f FilePath)) :*: S1 ('MetaSel ('Just "srpCommand") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [String])))))

type SourceRepoList = SourceRepositoryPackage [] Source #

Read from cabal.project

type SourceRepoProxy = SourceRepositoryPackage Proxy Source #

SourceRepositoryPackage without subdir. Used in clone errors. Cloning doesn't care about subdirectory.

srpFanOut :: SourceRepositoryPackage [] -> NonEmpty (SourceRepositoryPackage Maybe) Source #

Split single source-repository-package declaration with multiple subdirs, into multiple ones with at most single subdir.