| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Util.FS.Subdirectory
Description
A file system confined to one directory of another.
Documentation
subdirectoryHasFS ∷ ∀ (m ∷ Type → Type) h. FsPath → HasFS m h → HasFS m h Source #
The given file system, with every path taken relative to the given
directory in it, as ioHasFS takes every path relative to its
MountPoint.
Neither the directory nor any path may have a .. component, since that
could escape the directory.