darcs-beta- a distributed, interactive, smart revision control system

Safe HaskellSafe-Infered



class ShowPatchBasic p => ShowPatch p whereSource


showNicely :: p x y -> DocSource

showContextPatch :: (Monad m, ApplyMonadTrans m (ApplyState p), ApplyMonad m (ApplyState p), Monad m) => p x y -> m DocSource

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 x y -> DocSource

summary :: p x y -> DocSource

summaryFL :: FL p x y -> DocSource

thing :: p x y -> StringSource

things :: p x y -> StringSource