MissingH-1.4.3.1: Large utility library
CopyrightCopyright (C) 2004-2011 John Goerzen
LicenseBSD-3-Clause
Stabilitystable
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.IO.HVFS.Combinators

Contents

Description

Support for combining different HVFS modules together

Copyright (c) 2004-2005 John Goerzen, jgoerzen@complete.org

Synopsis

Restrictions

data HVFS a => HVFSReadOnly a Source #

Restrict access to the underlying filesystem to be strictly read-only. Any write-type operations will cause an error.

No constructor is required; just say HVFSReadOnly fs to make a new read-only wrapper around the HVFS instance fs.

Constructors

HVFSReadOnly a 

Instances

Instances details
HVFS a => HVFS (HVFSReadOnly a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

HVFSOpenable a => HVFSOpenable (HVFSReadOnly a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

HVFS a => Show (HVFSReadOnly a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

(HVFS a, Eq a) => Eq (HVFSReadOnly a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

data HVFS a => HVFSChroot a Source #

Access a subdirectory of a real filesystem as if it was the root of that filesystem.

Instances

Instances details
HVFS a => HVFS (HVFSChroot a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

HVFSOpenable a => HVFSOpenable (HVFSChroot a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

HVFS a => Show (HVFSChroot a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

(HVFS a, Eq a) => Eq (HVFSChroot a) Source # 
Instance details

Defined in System.IO.HVFS.Combinators

Methods

(==) :: HVFSChroot a -> HVFSChroot a -> Bool #

(/=) :: HVFSChroot a -> HVFSChroot a -> Bool #

newHVFSChroot Source #

Arguments

:: HVFS a 
=> a

The object to pass requests on to

-> FilePath

The path of the directory to make root

-> IO (HVFSChroot a)

The resulting new object

Create a new HVFSChroot object.