./sysutils/hs-filepattern, File path glob-like matching

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 0.1.2, Package name: hs-filepattern-0.1.2, Maintainer: pho

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.


Master sites:

SHA1: cfcbd5c2638bfebceca0475db113639a4f369b16
RMD160: 3c36a3514b61ec53d66dd13fa45c0d10d14ba7d1
Filesize: 15.368 KB

Version history: (Expand)