Commit graph

5 commits

Author SHA1 Message Date
Robert Hensing
f27ecea068 Fix character class parsing
Fixes #40
2020-05-12 16:06:42 +02:00
Robert Hensing
206787537e Explicitly unescape hash signs. Required since Nix 2.3. 2019-09-17 13:06:41 +02:00
Robert Hensing
05026b6bf5 Refactor rules.nix
Make it centered around
type patternFunction = path -> type -> nullOr bool

instead of
path -> type -> [(bool, bool)]
of which only the last match (fst?) was used (snd?).
2019-09-06 21:17:54 +02:00
Robert Hensing
bcc385e399 Add IFD-free gitignoreSource implementation 2019-05-12 13:48:32 +02:00
siers
25093d4d10 Initialize with rules, test data and license from nix-gitignore 2019-05-12 12:03:30 +02:00