The latest version of filepattern is 0.1.3-0.

filepattern

Version 0.1.2 revision 0 uploaded by NeilMitchell.

Package meta

Synopsis
File path glob-like matching
Description

A library for matching files using patterns such as "src/**/*.png" for all .png files recursively under the src directory. Features:

  • All matching is O(n). Most functions precompute some information given only one argument.

  • See System.FilePattern and ?== simple matching and semantics.

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

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

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

Originally taken from the Shake library.

Author
Neil Mitchell <ndmitchell@gmail.com>, Evan Rutledge Borden <evan@evan-borden.com>
Bug reports
https://github.com/ndmitchell/filepattern/issues
Category
Development, FilePath
Copyright
Neil Mitchell 2011-2020
Homepage
https://github.com/ndmitchell/filepattern#readme
Maintainer
Neil Mitchell <ndmitchell@gmail.com>
Package URL
n/a
Stability
n/a

Components