darcs-2.12.5: a distributed, interactive, smart revision control system
Darcs.Patch.Prim.V1
Contents
data Prim wX wY Source #
Instances
Methods
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 #
patchDebugDummy :: Prim wX wY -> () Source #
listTouchedFiles :: Prim wX wY -> [FilePath] Source #
hunkMatches :: (ByteString -> Bool) -> Prim wX wY -> Bool Source #
invert :: Prim wX wY -> Prim wY wX Source #
isHunk :: Prim wX wY -> Maybe (FileHunk 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 #
(==) :: Prim wX wY -> Prim wX wY -> Bool #
(/=) :: Prim wX wY -> Prim wX wY -> Bool #
fromPrim :: PrimOf Prim wX wY -> Prim wX wY Source #
Associated Types
type PrimOf (Prim :: * -> * -> *) :: * -> * -> * Source #