Darcs.Patch.Core
- data Patch where
- data Named p where
- joinPatchesFL :: FL Patch -> Patch
- concatFL :: FL (FL a) -> FL a
- flattenFL :: Patch -> FL Patch
- nullP :: Patch -> EqCheck
- isNullPatch :: Patch -> Bool
- infopatch :: Patchy p => PatchInfo -> p -> Named p
- nFn :: FilePath -> FilePath
- adddeps :: Named p -> [PatchInfo] -> Named p
- namepatch :: Patchy p => String -> String -> String -> [String] -> p -> IO (Named p)
- anonymous :: Patchy p => p -> IO (Named p)
- mergerUndo :: Patch -> Patch
- isMerger :: Patch -> Bool
- getdeps :: Named p -> [PatchInfo]
- patch2patchinfo :: Named p -> PatchInfo
- patchname :: Named p -> String
- patchcontents :: Named p -> p
Documentation
The Named
type adds a patch info about a patch, that is a name.
NamedP info deps p
represents patch p
with name
info
. deps
is a list of dependencies added at the named patch
level, compared with the unnamed level (ie, dependencies added with
darcs record --ask-deps
).
Instances
(Conflict p, ShowPatch p) => Show (Named p) | |
MyEq p => MyEq (Named p) | |
Invert p => Invert (Named p) | |
ReadPatch p => ReadPatch (Named p) | |
(Conflict p, ShowPatch p) => ShowPatch (Named p) | |
Commute p => Commute (Named p) | |
Apply p => Apply (Named p) | |
(Conflict p, Effect p, Patchy p) => Patchy (Named p) | |
Effect p => Effect (Named p) | |
Conflict p => Conflict (Named p) |
joinPatchesFL :: FL Patch -> PatchSource
isNullPatch :: Patch -> BoolSource
mergerUndo :: Patch -> PatchSource
patch2patchinfo :: Named p -> PatchInfoSource
patchcontents :: Named p -> pSource