debian-3.93.2: Modules for working with the Debian package system

Safe HaskellSafe
LanguageHaskell98

Debian.Release

Synopsis

Documentation

data ReleaseName Source #

A distribution (aka release) name. This type is expected to refer to a subdirectory of the dists directory which is at the top level of a repository.

Constructors

ReleaseName 

Fields

Instances

Eq ReleaseName Source # 
Data ReleaseName Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReleaseName -> c ReleaseName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReleaseName #

toConstr :: ReleaseName -> Constr #

dataTypeOf :: ReleaseName -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReleaseName) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReleaseName) #

gmapT :: (forall b. Data b => b -> b) -> ReleaseName -> ReleaseName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseName -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReleaseName -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReleaseName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReleaseName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReleaseName -> m ReleaseName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseName -> m ReleaseName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReleaseName -> m ReleaseName #

Ord ReleaseName Source # 
Read ReleaseName Source # 
Show ReleaseName Source # 

newtype Section Source #

A section of a repository such as main, contrib, non-free, restricted. The indexes for a section are located below the distribution directory.

Constructors

Section String 

data SubSection Source #

A package's subsection is only evident in its control information, packages from different subsections all reside in the same index.

Constructors

SubSection 

parseSection :: String -> SubSection Source #

Parse the value that appears in the Section field of a .changes file. (Does this need to be unesacped?)