| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Darcs.UI.PrintPatch
Synopsis
- contextualPrintPatch :: (ShowContextPatch p, ApplyState p ~ Tree) => Tree IO -> p wX wY -> IO ()
- printContent :: ShowPatch p => p wX wY -> IO ()
- printContentWithPager :: ShowPatch p => p wX wY -> IO ()
- printFriendly :: (ShowPatch p, ShowContextPatch p, ApplyState p ~ Tree) => Maybe (Tree IO) -> Verbosity -> WithSummary -> WithContext -> p wX wY -> IO ()
- printSummary :: ShowPatch p => p wX wY -> IO ()
- showFriendly :: ShowPatch p => Verbosity -> WithSummary -> p wX wY -> Doc
- showWithSummary :: ShowPatch p => p wX wY -> Doc
Documentation
contextualPrintPatch :: (ShowContextPatch p, ApplyState p ~ Tree) => Tree IO -> p wX wY -> IO () Source #
contextualPrintPatch prints a patch, together with its context, on
standard output.
printContent :: ShowPatch p => p wX wY -> IO () Source #
printContentWithPager :: ShowPatch p => p wX wY -> IO () Source #
printFriendly :: (ShowPatch p, ShowContextPatch p, ApplyState p ~ Tree) => Maybe (Tree IO) -> Verbosity -> WithSummary -> WithContext -> p wX wY -> IO () Source #
prints printFriendly opts patchpatch in accordance with the flags
in opts, ie, whether --verbose or --summary were passed at the
command-line.
printSummary :: ShowPatch p => p wX wY -> IO () Source #
showFriendly :: ShowPatch p => Verbosity -> WithSummary -> p wX wY -> Doc Source #
returns a showFriendly flags patchDoc representing the right
way to show patch given the list flags of flags darcs was invoked with.
showWithSummary :: ShowPatch p => p wX wY -> Doc Source #