Module documentation for 0.7.5

This version can be pinned in stack with:[email protected]:219b9caf1aaf9c2ab69ac75242f6017f0cd804a3370e0d63ac48777888fd909b,1335

Exact lookup

System

System.FilePath

System.FilePath.Glob

System.FilePath.Glob.Primitive

This is Glob, a Haskell library for globbing, i.e. pattern matching file pathsakin to the POSIX glob() function. Haddock documentation is included, and canbe built with the 'cabal haddock' command. Basic usage info is repeated below:

Matching pattern (a String) against filepath (a FilePath):

match (compile pattern) filepath

Matching a pattern against all paths in the current working directory:

glob pattern

Matching a pattern against all paths in a given directory (a FilePath):

globDir1 (compile pattern) directorypath

Matching a list of patterns against all paths in a given directory, returningthe matches for each pattern as well as the paths not matched by any of thepatterns:

globDir (map compile patterns) directorypath

Changes

0.7.5, 2014-05-08: Update dependencies to allow transformers-0.4.

0.7.4, 2014-03-18: Update dependencies to allow dlist-0.7.

0.7.3, 2013-12-01: Update dependencies to allow dlist-0.6.

0.7.2, 2012-10-18: Update dependencies to allow directory-1.2.

0.7.1, 2012-07-03: Update dependencies to allow transformers-0.3, and generally tighten them according to the policy.

Change: ".." can now be matched, by patterns such as ".*". Change: globDir, given "" as the directory, uses getCurrentDirectory. Change: globDir now keeps track of the number of path separators, thus "a//*" will return "a//b" instead of "a/b" as a match result. Change: if character ranges begin with ! or ^, these characters are now considered the start of the range: [^-~] is the range ^ through ~, not the inverse of [-~].

Regression fix: handle directories without read permissions even more properly.