filepath

Version 1.5.3.0 revision 0 uploaded by maerwald.

Package meta

Synopsis
Library for manipulating FilePaths in a cross platform way.
Description

This package provides functionality for manipulating FilePath values, and is shipped with GHC. It provides two variants for filepaths:

  1. legacy filepaths: type FilePath = String

  2. operating system abstracted filepaths (OsPath): internally unpinned ShortByteString (platform-dependent encoding)

It is recommended to use OsPath when possible, because it is more correct.

For each variant there are three main modules:

For more powerful string manipulation of OsPath, you can use the os-string package (OsPath is a type synonym for OsString).

An introduction into the new API can be found in this blog post. Code examples for the new API can be found here.

Author
Neil Mitchell <ndmitchell@gmail.com>
Bug reports
https://github.com/haskell/filepath/issues
Category
System
Copyright
Neil Mitchell 2005-2020, Julian Ospald 2021-2022
Homepage
https://github.com/haskell/filepath/blob/master/README.md
Maintainer
Julian Ospald <hasufell@posteo.de>
Package URL
n/a
Stability
n/a

Components