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