fs-api-0.3.0.1: Abstract interface for the file system
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.FS.IO

Description

IO implementation of the HasFS interface.

Synopsis

Documentation

type HandleIO = FHandle Source #

File handlers for the IO instance for HasFS

We store the path the handle points to for better error messages

ioHasFS ∷ (MonadIO m, PrimState IO ~ PrimState m) ⇒ MountPointHasFS m HandleIO Source #

IO implementation of the HasFS interface using the real file system.

The concrete implementation depends on the OS distribution, but behaviour should be similar across distributions.