darcs-2.8.5: a distributed, interactive, smart revision control system

Safe HaskellNone
LanguageHaskell98

Darcs.Patch.Set

Synopsis

Documentation

data PatchSet p start y where Source

Constructors

PatchSet :: RL (PatchInfoAnd p) x y -> RL (Tagged p) start x -> PatchSet p start y 

data Tagged p x z where Source

Constructors

Tagged :: PatchInfoAnd p y z -> Maybe String -> RL (PatchInfoAnd p) x y -> Tagged p x z 

type SealedPatchSet p start = Sealed (PatchSet p start) Source

progressPatchSet :: String -> PatchSet p start x -> PatchSet p start x Source

Runs a progress action for each tag and patch in a given PatchSet, using the passed progress message. Does not alter the PatchSet.

tags :: PatchSet p start x -> [PatchInfo] Source

tags returns the PatchInfos corresponding to the tags of a given PatchSet.

appendPSFL :: PatchSet p start x -> FL (PatchInfoAnd p) x y -> PatchSet p start y Source

appendPSFL takes a PatchSet and a FL of patches that follow the PatchSet, and concatenates the patches into the PatchSet.

newset2RL :: PatchSet p start x -> RL (PatchInfoAnd p) start x Source

newset2RL takes a PatchSet and returns an equivalent, linear RL of patches.

newset2FL :: PatchSet p start x -> FL (PatchInfoAnd p) start x Source

newset2FL takes a PatchSet and returns an equivalent, linear FL of patches.