hercules-ci / gitignore.nix

Nix functions for filtering local git sources
The Unlicense
242 stars 19 forks source link

Refactor rules.nix #20

Closed roberth closed 4 years ago

roberth commented 4 years ago

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?).