ghc-filepattern 0.1.2 File path glob-like matching

This package provides Haskell library for matching files using patterns such as \"src\/**\/*.png\" for all @file.png files recursively under the @filesrc directory.

Some of its features include:

  • All matching is O(n).

  • Most functions pre-compute some information given only one argument.

  • Uses match and substitute to extract suitable strings from the * and ** matches, and substitutes them back into other patterns.

  • Uses step and matchMany to perform bulk matching of many patterns against many paths simultaneously.

  • Uses System.FilePattern.Directory to perform optimised directory traverals using patterns.