Darcs.Patch.Apply
- applyToFilepaths :: Apply p => p -> [FilePath] -> [FilePath]
- forceTokReplace :: String -> String -> String -> FileContents -> Maybe FileContents
- markupFile :: Effect p => PatchInfo -> p -> (FilePath, MarkedUpFile) -> (FilePath, MarkedUpFile)
- emptyMarkedupFile :: MarkedUpFile
- patchChanges :: Prim -> [(String, DirMark)]
- applyToPop :: PatchInfo -> FL Prim -> Population -> Population
- applyToTree :: Apply p => p -> Tree IO -> IO (Tree IO)
- data LineMark
- type MarkedUpFile = [(ByteString, LineMark)]
Documentation
applyToFilepaths :: Apply p => p -> [FilePath] -> [FilePath]
forceTokReplace :: String -> String -> String -> FileContents -> Maybe FileContents
markupFile :: Effect p => PatchInfo -> p -> (FilePath, MarkedUpFile) -> (FilePath, MarkedUpFile)
patchChanges :: Prim -> [(String, DirMark)]
applyToPop :: PatchInfo -> FL Prim -> Population -> Population
data LineMark
Constructors
AddedLine PatchInfo | |
RemovedLine PatchInfo | |
AddedRemovedLine PatchInfo PatchInfo | |
None |
type MarkedUpFile = [(ByteString, LineMark)]