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 (>=0.10.0.0), hpath (==0.10.*), hpath-filepath (==0.10.*), IfElse, streamly (>=0.7), 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-04T18:56:07Z
Distributions NixOS:0.13.2
Downloads 1145 total (164 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-04 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hpath-io-0.10.0

[back to package description]

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