summaryrefslogtreecommitdiff
path: root/Utility/Format.hs
Commit message (Collapse)AuthorAge
* finished where indentation changesGravatar Joey Hess2012-12-13
|
* hlintGravatar Joey Hess2012-02-16
|
* rename readMaybe to readishGravatar Joey Hess2012-01-23
| | | | a stricter (but also partial) readMaybe is getting added to base
* treakGravatar Joey Hess2012-01-21
|
* cleanupGravatar Joey Hess2011-12-23
|
* add escape_var hackGravatar Joey Hess2011-12-23
| | | | Makes it easy to find files with duplicate contents, anyway.. :)
* reorgGravatar Joey Hess2011-12-23
|
* handle C-style escapes in FormatGravatar Joey Hess2011-12-23
| | | | | | | | | | | I was happily able to repurpose some code from Git.Filename to handle this. I remember writing that code... a whole afternoon at a coffee shop, after which I felt I'd struggled with Haskell and git, and sorta lost, in needing to write this nasty peice of code. But was also pleased at the use of a pair of functions and quickcheck that allowed me to get it 100% right. So, turns out I not only got it right, but the code wasn't as special-purpose as I'd feared. Yay!
* better data typeGravatar Joey Hess2011-12-22
|
* Format strings can be specified using the new --find option, to control what ↵Gravatar Joey Hess2011-12-22
| | | | is output by git annex find.
* add a text formatterGravatar Joey Hess2011-12-22
This is built for speed; a format string is parsed once, generating a Format, that can be applied repeatedly to different sets of variables to generate output.