glob-posix

A Haskell binding for the POSIX glob() function.


Keywords
system, Propose Tags , System.Directory.Glob, System.Directory.Glob.GNU, System.Directory.Glob.GNU.Compat
License
Other
Install
cabal install glob-posix-0.1.0.1

Documentation

Glob-Posix

Build Status

Glob-Posix is a Haskell library that provides bindings for the glob(3) C function on POSIX systems. It is significantly faster than the available alternatives at time of writing. GNU extensions are also supported.

Benchmarks

Glob-Posix isn't just fast, it's orders of magitude faster than the competing implementations:

Complete benchmark (Click on the graph for an interactive version.)

You can find the source for these benchmarks here. To run the benchmarks, use:

stack bench --benchmark-arguments '--output=bench.html'

Reasons to use this library

  • You need a fast, powerful implementation of glob(3) on a POSIX OS

Reasons to not use this library

  • You need to write programs portable to non-POSIX operating systems. e.g. Windows
  • You need support for virtual file-systems - see System.IO.HVFS.