hpath/hpath-io
Julian Ospald 3abc68cdd6
Remove RelC and Fn wrt #29
'Path Fn </> Path Fn' leads to incorrect semantics.
The only fix is introducing complicated type family
machinery, which isn't justified.
2020-01-20 19:51:00 +01:00
..
cbits Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
src Remove RelC and Fn wrt #29 2020-01-20 19:51:00 +01:00
test Add various new functions to HPath.IO 2020-01-18 18:53:04 +01:00
CHANGELOG.md Bump versions 2020-01-18 18:59:21 +01:00
LICENSE Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
README.md More README updates. 2020-01-04 21:48:27 +01:00
Setup.hs Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
TODO.md Add TODO 2020-01-13 23:50:24 +01:00
hpath-io.cabal Bump versions 2020-01-18 18:59:21 +01:00

README.md

HPath-IO

Gitter chat Hackage version Build Status Hackage-Deps

High-level IO operations on files/directories, utilizing type-safe Paths.

This package is part of the HPath suite, also check out hpath and hpath-filepath.

Motivation

The motivation came during development of hsfm in order to have a proper high-level API of file related operations, while utilizing type-safe Paths.

Goals

  • high-level API to file operations like recursive directory copy
  • still allowing sufficient control to interact with the underlying low-level calls
  • unit-testing exceptions (because yes, people may rely on them)

Note: this library was written for posix systems and it will probably not support other systems.

Differences to 'posix-paths'

  • has a custom versions of openFd which allows more control over the flags than its unix package counterpart
  • adds a getDirectoryContents' version that works on Fd