darcs-2.14.1: a distributed, interactive, smart revision control system
Darcs.Patch.V2.Prim
newtype Prim x y #
Constructors
Fields
Defined in Darcs.Patch.V2.Prim
Methods
patchListFormat :: ListFormat Prim #
unsafeCompare :: Prim wA wB -> Prim wC wD -> Bool #
(=\/=) :: Prim wA wB -> Prim wA wC -> EqCheck wB wC #
(=/\=) :: Prim wA wC -> Prim wB wC -> EqCheck wA wB #
showDict2 :: ShowDict (Prim wX wY) #
invert :: Prim wX wY -> Prim wY wX #
listTouchedFiles :: Prim wX wY -> [FilePath] #
hunkMatches :: (ByteString -> Bool) -> Prim wX wY -> Bool #
commute :: (Prim :> Prim) wX wY -> Maybe ((Prim :> Prim) wX wY) #
readPatch' :: ParserM m => m (Sealed (Prim wX)) #
Associated Types
type ApplyState Prim :: (* -> *) -> * #
apply :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m () #
showNicely :: Prim wX wY -> Doc #
description :: Prim wX wY -> Doc #
summary :: Prim wX wY -> Doc #
summaryFL :: FL Prim wX wY -> Doc #
thing :: Prim wX wY -> String #
things :: Prim wX wY -> String #
showContextPatch :: ApplyMonad (ApplyState Prim) m => ShowPatchFor -> Prim wX wY -> m Doc #
showPatch :: ShowPatchFor -> Prim wX wY -> Doc #
isHunk :: Prim wX wY -> Maybe (FileHunk wX wY) #
applyAndTryToFixFL :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m (Maybe (String, FL Prim wX wY)) #
applyPrimFL :: ApplyMonad (ApplyState Prim) m => FL Prim wX wY -> m () #
summarizePrim :: Prim wX wY -> [SummDetail] #
tryToShrink :: FL Prim wX wY -> FL Prim wX wY #
tryShrinkingInverse :: FL Prim wX wY -> Maybe (FL Prim wX wY) #
sortCoalesceFL :: FL Prim wX wY -> FL Prim wX wY #
canonize :: DiffAlgorithm -> Prim wX wY -> FL Prim wX wY #
canonizeFL :: DiffAlgorithm -> FL Prim wX wY -> FL Prim wX wY #
coalesce :: (Prim :> Prim) wX wY -> Maybe (FL Prim wX wY) #
addfile :: FilePath -> Prim wX wY #
rmfile :: FilePath -> Prim wX wY #
adddir :: FilePath -> Prim wX wY #
rmdir :: FilePath -> Prim wX wY #
move :: FilePath -> FilePath -> Prim wX wY #
changepref :: String -> String -> String -> Prim wX wY #
hunk :: FilePath -> Int -> [ByteString] -> [ByteString] -> Prim wX wY #
tokreplace :: FilePath -> String -> String -> String -> Prim wX wY #
binary :: FilePath -> ByteString -> ByteString -> Prim wX wY #
primFromHunk :: FileHunk wX wY -> Prim wX wY #
anIdentity :: Prim wX wX #
primIsAddfile :: Prim wX wY -> Bool #
primIsRmfile :: Prim wX wY -> Bool #
primIsAdddir :: Prim wX wY -> Bool #
primIsRmdir :: Prim wX wY -> Bool #
primIsMove :: Prim wX wY -> Bool #
primIsHunk :: Prim wX wY -> Bool #
primIsTokReplace :: Prim wX wY -> Bool #
primIsBinary :: Prim wX wY -> Bool #
primIsSetpref :: Prim wX wY -> Bool #
is_filepatch :: Prim wX wY -> Maybe FileName #
toPrim :: Prim wX wY -> Maybe (PrimOf Prim wX wY) #
fromPrim :: PrimOf Prim wX wY -> Prim wX wY #
type PrimOf Prim :: * -> * -> * #
annotate :: Prim wX wY -> AnnotatedM () #
Defined in Darcs.Repository.Job
toPrimV1 :: Prim wX wY -> Prim0 wX wY #
showDict1 :: ShowDict (Prim wX wX0) #
showsPrec :: Int -> Prim wX wY -> ShowS #
show :: Prim wX wY -> String #
showList :: [Prim wX wY] -> ShowS #