@hackage / hpath-filepath

ByteString based filepath manipulation

Latest0.10.4

About

Metadata

  • Last updated , by maerwald
  • License BSD-3-Clause
  • Categories Systems Programming
  • Maintained by: Julian Ospald <hasufell@posteo.de>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.8.1
  2. 8.6.5
  3. 8.4.4
  4. 8.2.2
  5. 8.0.2
  6. 7.10.3

Readme

HPath-filepath

Gitter chat Hackage version Build Status Hackage-Deps

Support for bytestring based filepath manipulation, similar to 'filepath'.

This package is part of the HPath suite, also check out:

Motivation

This is basically a fork of posix-paths, which seemed to have stalled development.

There is also a similar library filepath-bytestring, but it doesn't follow an open development model and is cross-platform, which this library is not interested in.

Differences to 'posix-paths'

  • uses the word8 package for save word8 literals instead of OverloadedStrings
  • hasTrailingPathSeparator and dropTrailingPathSeparator behave in the same way as their System.FilePath counterpart
  • has some additional functions

Differences to 'filepath-bytestring'

  • uses the word8 package for save word8 literals instead of OverloadedStrings
  • is not cross-platform (less odd code to maintain)
  • has some additional functions