cabal-cache-1.0.3.0: CI Assistant for Haskell projects
Safe HaskellNone
LanguageHaskell2010

HaskellWorks.CabalCache.Location

Documentation

class IsPath a s | a -> s where Source #

Methods

(</>) :: a -> s -> a infixr 5 Source #

(<.>) :: a -> s -> a infixr 7 Source #

Instances

Instances details
IsPath Text Text Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Methods

(</>) :: Text -> Text -> Text Source #

(<.>) :: Text -> Text -> Text Source #

IsPath S3Uri Text Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Methods

(</>) :: S3Uri -> Text -> S3Uri Source #

(<.>) :: S3Uri -> Text -> S3Uri Source #

IsPath Location Text Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

a ~ Char => IsPath [a] [a] Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Methods

(</>) :: [a] -> [a] -> [a] Source #

(<.>) :: [a] -> [a] -> [a] Source #

data Location Source #

Constructors

S3 S3Uri 
Local FilePath 
HttpUri Text 

Instances

Instances details
Eq Location Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Show Location Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Generic Location Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToText Location Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

Methods

toText :: Location -> Text #

IsPath Location Text Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

type Rep Location Source # 
Instance details

Defined in HaskellWorks.CabalCache.Location

type Rep Location = D1 ('MetaData "Location" "HaskellWorks.CabalCache.Location" "cabal-cache-1.0.3.0-46hHjBKuvU39eb3wI4CCAB" 'False) (C1 ('MetaCons "S3" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S3Uri)) :+: (C1 ('MetaCons "Local" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)) :+: C1 ('MetaCons "HttpUri" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))))