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

Safe HaskellNone



class ShowPatchBasic p => ShowPatch p where Source

Minimal complete definition

summary, summaryFL


showNicely :: p wX wY -> Doc Source

showContextPatch :: (Monad m, ApplyMonadTrans m (ApplyState p), ApplyMonad m (ApplyState p)) => p wX wY -> m Doc Source

showContextPatch is used to add context to a patch, as diff -u does. Thus, it differs from showPatch only for hunks. It is used for instance before putting it into a bundle. As this unified context is not included in patch representation, this requires access to the tree.

description :: p wX wY -> Doc Source

summary :: p wX wY -> Doc Source

summaryFL :: FL p wX wY -> Doc Source

thing :: p wX wY -> String Source

things :: p wX wY -> String Source