| Copyright | (c) Henry J. Wylde, 2015 |
|---|---|
| License | BSD3 |
| Maintainer | public@hjwylde.com |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Omnifmt.Directory
Contents
Description
System directory utilities.
- withCurrentDirectory :: (MonadIO m, MonadMask m) => FilePath -> m a -> m a
Changing directories
withCurrentDirectory :: (MonadIO m, MonadMask m) => FilePath -> m a -> m a Source
withCurrentDirectory dir action performs action with the current directory set to dir.
The current directory is reset back to what it was afterwards.