hpath-io: High-level IO operations on files/directories

[ bsd3, filesystem ] [ Propose Tags ]

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

[Skip to Readme]
Versions [faq] 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.13.2, 0.14.0 (info)
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), bytestring (>=, hpath (==0.10.*), hpath-filepath (==0.10.*), IfElse, safe-exceptions (>=0.1), streamly (>=0.7), transformers, unbuildable (>1 && <1), unix (>=2.5), unix-bytestring, utf8-string [details]
License BSD-3-Clause
Copyright Julian Ospald 2016
Author Julian Ospald <hasufell@posteo.de>
Maintainer Julian Ospald <hasufell@posteo.de>
Category Filesystem
Source repo head: git clone https://github.com/hasufell/hpath
Uploaded by maerwald at 2020-01-13T23:22:23Z
Distributions NixOS:0.13.2
Downloads 1235 total (53 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-01-13 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hpath-io-0.10.1

[back to package description]


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.


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.


  • 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