MissingH API ManualContentsIndex
MissingH.IO.HVFS.Combinators
Portability portable
Stability provisional
Maintainer jgoerzen@complete.org
Contents
Restrictions
Description

Support for combining different HVFS modules together

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

Synopsis
data HVFSReadOnly a = HVFSReadOnly a
data HVFSChroot a
newHVFSChroot :: HVFS a => a -> FilePath -> IO (HVFSChroot a)
Restrictions
data HVFSReadOnly a

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
HVFS a => HVFS (HVFSReadOnly a)
HVFSOpenable a => HVFSOpenable (HVFSReadOnly a)
(HVFS a, Eq a) => Eq (HVFSReadOnly a)
(HVFS a, Show a) => Show (HVFSReadOnly a)
data HVFSChroot a
Access a subdirectory of a real filesystem as if it was the root of that filesystem.
Instances
HVFS a => HVFS (HVFSChroot a)
HVFSOpenable a => HVFSOpenable (HVFSChroot a)
(HVFS a, Eq a) => Eq (HVFSChroot a)
(HVFS a, Show a) => Show (HVFSChroot a)
newHVFSChroot
:: HVFS a
=> aThe object to pass requests on to
-> FilePathThe path of the directory to make root
-> IO (HVFSChroot a)The resulting new object
Create a new HVFSChroot object.
Produced by Haddock version 0.6