Go to file
Julian Ospald 74d686547e
Fix humongous bug with fdopendir on mac
https://opensource.apple.com/source/Libc/Libc-1244.1.7/include/dirent.h.auto.html

ccall picks the wrong one, causes crashes and truncated d_name
entries. Wrapping the function in a small C shim, as well as
using the CAPI, fixes this.
2020-04-14 22:39:47 +02:00
hpath Add/update READMEs 2020-01-26 21:52:13 +01:00
hpath-directory Require non-broken streamly-bytestring 2020-02-19 13:59:44 +01:00
hpath-filepath Release new versions 2020-01-26 21:52:34 +01:00
hpath-io Bump hpath-io 2020-01-30 00:28:05 +01:00
hpath-posix Fix humongous bug with fdopendir on mac 2020-04-14 22:39:47 +02:00
.gitignore Update .gitignore 2019-12-30 14:34:57 +01:00
.travis.yml Update travis with osc build 2020-04-14 22:39:47 +02:00
cabal.project Split hpath-directory into hpath-posix 2020-01-29 23:06:13 +01:00
README.md Spelling 2020-01-30 00:28:15 +01:00

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'