Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type FormatFn = HgRev -> HgState -> String Source
Function to format hg rev and state info for printing
hgRevStateTH :: FormatFn -> ExpQ Source
Apply a format function and return a Template Haskell spliced string for compiling into code.
long: d9d3a1172a1d919b3056b435891081c0d7d00599 short: d9d3a1172a1d dirty: true
{ "dirty": true, "short rev": "d9d3a1172a1d", "branch": "default", "bookmarks": [], "revision": "d9d3a1172a1d919b3056b435891081c0d7d00599", "tags": [ "tip" ] }