darcs-2.12.5: a distributed, interactive, smart revision control system

Copyright | 2010 Petr Rockai
License | MIT
Maintainer | darcs-devel@darcs.net
Stability | experimental
Portability | portable
Safe Haskell | None
Language | Haskell2010

Darcs.Patch.Annotate

Description

# Documentation

annotate :: (Apply p, ApplyState p ~ Tree) => DiffAlgorithm -> FL (PatchInfoAnd rt p) wX wY -> FileName -> ByteString -> AnnotateResult #

annotateDirectory :: (Apply p, ApplyState p ~ Tree) => DiffAlgorithm -> FL (PatchInfoAnd rt p) wX wY -> FileName -> [FileName] -> AnnotateResult #

format :: ByteString -> AnnotateResult -> String #

machineFormat :: ByteString -> AnnotateResult -> String #

type AnnotateResult = Vector (Maybe PatchInfo, ByteString) #