Package Info

ghc-filepath-bytestring


Library for manipulating RawFilePaths in a cross platform way


Unspecified

This package provides functionality for manipulating 'RawFilePath' values. It can be used as a drop in replacement for the filepath library to get the benefits of using ByteStrings. It provides three modules:

  • "System.FilePath.Posix.ByteString" manipulates POSIX/Linux style

'RawFilePath' values (with '/' as the path separator).

  • "System.FilePath.Windows.ByteString" manipulates Windows style 'RawFilePath'

values (with either '' or '/' as the path separator, and deals with drives).

  • "System.FilePath.ByteString" is an alias for the module appropriate to your

platform.

All three modules provide the same API, and the same documentation (calling out differences in the different variants).

This package is now deprecated, since filepath 1.4.100.0 provides an OsPath type that is based on a bytestring. See https://hasufell.github.io/posts/2022-06-29-fixing-haskell-filepaths.html.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/filepath-bytestring

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.4.2.1.9-bp157.1.4 info GA Release 2025-03-08 15 SP7
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-filepath-bytestring
  • ghc-filepath-bytestring-devel
1.4.100.3.2-bp160.1.11 info GA Release 2024-07-30 16.0
  • x86-64
  • ghc-filepath-bytestring
  • ghc-filepath-bytestring-devel
  • ghc-filepath-bytestring-doc
  • ghc-filepath-bytestring-prof
1.4.2.1.9-bp156.3.3 info GA Release 2023-12-07 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-filepath-bytestring
  • ghc-filepath-bytestring-devel
1.4.2.1.9-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-filepath-bytestring
  • ghc-filepath-bytestring-devel
1.4.2.1.9-bp154.1.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-filepath-bytestring
  • ghc-filepath-bytestring-devel