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
2020-01-26 21:52:13 +01:00
2020-01-26 21:52:34 +01:00
2020-01-30 00:28:05 +01:00
2019-12-30 14:34:57 +01:00
2020-04-14 22:39:47 +02:00
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'
Description
No description provided
Readme 1.4 MiB
Languages
Haskell 94.4%
Cabal Config 5%
Shell 0.4%
C 0.2%