ContentsIndex
Darcs.Patch.Apply
Documentation
apply_to_filepaths :: Apply p => p -> [FilePath] -> [FilePath]
apply_to_slurpy :: (Apply p, Monad m) => p -> Slurpy -> m Slurpy
force_replace_slurpy :: Prim -> Slurpy -> Maybe Slurpy
applyFL :: WriteableDirectory m => [DarcsFlag] -> FL Prim -> m ()
applyHunks :: [(Int, [ByteString], [ByteString])] -> ByteString -> Maybe [ByteString]
applyHunkLines :: [(Int, [ByteString], [ByteString])] -> FileContents -> Maybe FileContents
forceTokReplace :: String -> String -> String -> FileContents -> Maybe FileContents
data LineMark
Constructors
AddedLine PatchInfo
RemovedLine PatchInfo
AddedRemovedLine PatchInfo PatchInfo
None
show/hide Instances
type MarkedUpFile = [(ByteString, LineMark)]
empty_markedup_file :: MarkedUpFile
markup_file :: Effect p => PatchInfo -> p -> (FilePath, MarkedUpFile) -> (FilePath, MarkedUpFile)
markup_prim :: PatchInfo -> Prim -> (FilePath, MarkedUpFile) -> (FilePath, MarkedUpFile)
markup_hunk :: PatchInfo -> Int -> [ByteString] -> [ByteString] -> MarkedUpFile -> MarkedUpFile
markup_tok :: PatchInfo -> String -> String -> String -> MarkedUpFile -> MarkedUpFile
patchChanges :: Prim -> [(String, DirMark)]
applyToPop :: PatchInfo -> FL Prim -> Population -> Population
applyToPop' :: PatchInfo -> Prim -> Population -> Population
breakP :: [ByteString] -> PopTree -> (PopTree, Maybe PopTree)
pname :: PopTree -> ByteString
Produced by Haddock version 2.4.2