Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ShowPatchBasic p where Source #
ShowPatchBasic DummyPatch Source # | |
(PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (Named p) Source # | |
ShowPatchBasic (RebaseName p) Source # | |
PrimPatch prim => ShowPatchBasic (RepoPatchV2 prim) Source # | |
(PrimPatchBase p, PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (RebaseItem p) Source # | |
(PrimPatchBase p, PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (Suspended p) Source # | |
(PrimPatchBase p, PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (RebaseChange p) Source # | |
(PrimPatchBase p, PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (RebaseSelect p) Source # | |
(ShowPatchBasic p, PatchListFormat p) => ShowPatchBasic (WrappedNamed rt p) Source # | |
(PatchListFormat p, ShowPatchBasic p) => ShowPatchBasic (PatchInfoAnd rt p) Source # | |
class ShowPatchBasic p => ShowPatch p where Source #
showNicely :: p wX wY -> Doc Source #
showContextPatch :: (Monad m, ApplyMonad (ApplyState p) m) => 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 #
formatFileName :: FileNameFormat -> FileName -> Doc Source #