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

[ bsd3, filesystem ] [ Propose Tags ]
This version is deprecated.

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.13.2, 0.14.0, 0.14.1, 0.14.2 (info)
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), bytestring (>=0.10.0.0), hpath (>=0.10 && <0.11), hpath-filepath (>=0.10 && <0.11), IfElse, safe-exceptions (>=0.1), streamly (>=0.7), transformers, unbuildable (<0), 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
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 2541 total (27 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-01-13 [all 1 reports]

Readme for hpath-io-0.10.1

[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.

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