hpath/hpath-io
Julian Ospald 0ae398df39
Update CHANGELOGs
2020-01-04 20:14:25 +01:00
..
cbits Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
src Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
test Fix build with older GHCs 2020-01-04 18:14:52 +01:00
CHANGELOG.md Update CHANGELOGs 2020-01-04 20:14:25 +01:00
LICENSE Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
README.md Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
Setup.hs Split packages into hpath{,-io,-filepath} 2020-01-04 17:55:14 +01:00
hpath-io.cabal Pin dependencies 2020-01-04 18:06:06 +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.

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