hpath-directory

Typed filepath in haskell


Keywords
filesystem, Propose Tags , System.Posix.RawFilePath.Directory, System.Posix.RawFilePath.Directory.Errors, files, haskell, posix, filepath, dirname, filepath-manipulation
License
BSD-3-Clause
Install
cabal install hpath-directory-0.14.2.2

Documentation

HPath libraries

Gitter chat Build Status

Set of libraries to deal with filepaths and files.

Motivation

  • filepaths should be type-safe (absolute, relative, ...)
  • filepaths should be ByteString under the hood, see Abstract FilePath Proposal (AFPP)
  • file high-level operations should be platform-specific, exception-stable, safe and as atomic as possible

Projects

  • Hackage version hpath: Support for well-typed paths
  • Hackage version hpath-filepath: ByteString based filepath manipulation (can be used without hpath)
  • Hackage version hpath-directory: High-level IO operations for files/directories on raw ByteString filepaths (use hpath-io for the type-safe path version)
  • Hackage version hpath-io: High-level IO operations for files/directories utilizing type-safe Path
  • Hackage version hpath-posix: Some low-level POSIX glue code that is not in 'unix'