dirstream

Easily stream directory contents in constant memory

Latest on Hackage:1.1.0@rev:2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Gabriella Gonzalez
Maintained by [email protected]

Use this library to read large directories as streams:

  • Use ListT to assemble recursive directory traversals while still streaming

  • Use pipes to read out the stream of results

  • Traversals only open directory streams lazily in response to demand

  • Avoid directories with insufficient permissions

This library works on both Unix and Windows.