Popularity
7.5
Growing
Activity
2.9
Growing
12
7
6

Monthly Downloads: 46
Programming language: Haskell
License: GNU General Public License v3.0 or later
Tags: System     Posix    
Latest version: v0.2.1.6

posix-paths alternatives and similar packages

Based on the "posix" category.
Alternatively, view posix-paths alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of posix-paths or a related project?

Add another 'posix' Package

README

posix-paths

Haskell functions for working with posix paths

There are two primary modules, System.Posix.FilePath and System.Posix.Directory.Traversals

System.Posix.FilePath provides an API for working with RawFilePath paths (i.e. bytestrings). The API is largely compatible with the familiar filepath module, although without windows-specific functionality (e.g. drives).

System.Posix.Directory.Traversals provides several functions to get the contents of a directory structure. These are generally much faster than similar functions defined elsewhere.

Benchmarks

Current benchmarks compare performance of a directory traversal based upon a well-known Haskell example, the same algorithm implemented with RawFilePath instead of FilePath, the unix "find" utility, and this package's allDirectoryContents, allDirectoryContents', and traverseDirectory.

Directory traversal of /tmpfs: http://johnlato.github.io/posix-paths/tmpfs.html

Directory traversal of /usr/local (~170k files): http://johnlato.github.io/posix-paths/usrLocal.html