file-io

Basic file IO operations via 'OsPath'

https://github.com/hasufell/file-io

Version on this page:0.1.6
LTS Haskell 24.30:0.1.6
Stackage Nightly 2026-02-08:0.1.5
Latest on Hackage:0.2.0

See all snapshots file-io appears in

BSD-3-Clause licensed by Julian Ospald
Maintained by [email protected]
This version can be pinned in stack with:file-io-0.1.6@sha256:5e3466f15993e499db47d79d09c519d6d37c143cfe94fb46dd218bf2f6f3fd39,3550
Used by 1 package in lts-24.30(full list with versions):

Basic file IO operations like Prelude, but for OsPath.

Changes

Revision history for file-io

0.1.6 – 2025-01-30

  • Fix long path support on windows wrt #39
  • Respect current locale when returning a handle wrt #45

0.1.5 – 2024-11-26

  • Don’t use QuasiQotes
  • Remove redundant imports

0.1.4 – 2024-08-10

  • fix build on GHC <= 8.10

0.1.3 – 2024-08-08

  • add openTempFile , openBinaryTempFile , openTempFileWithDefaultPermissions and openBinaryTempFileWithDefaultPermissions wrt #2

0.1.2 – 2024-05-27

  • expose internals via .Internal modules
  • add openFileWithCloseOnExec and openExistingFileWithCloseOnExec to .Internal modules wrt #21

0.1.1 – 2024-01-20

  • fix a severe bug on windows, where readFile may create a missing file, wrt #14
  • fix a concurrency bug on windows with readFile, wrt #15
  • make sure to set ioe_filename in IOException wrt #17
  • Make openFile and friends exception safe wrt #8

0.1.0.2 – 2023-12-11

  • support os-string package and newer filepath

0.1.0.1 – YYYY-mm-dd

  • Don’t use creat flag when only reading files

0.1.0.0 – YYYY-mm-dd

  • First version. Released on an unsuspecting world.