Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newtype ZfsContext = ZfsContext (ForeignPtr LibzfsHandle)
- newtype Zpool = Zpool (ForeignPtr ZpoolHandle)
- newtype Zdataset = Zdataset (ForeignPtr ZfsHandle)
- newtype ZfsT m a = Zfs {
- runZfs' :: ZfsContext -> m (Either ZError a)
- type Zfs a = forall m. MonadIO m => ZfsT m a
- data Vdev
- data ZpoolConfig = ZpoolConfig {}
- withZfs :: MonadIO m => (Ptr LibzfsHandle -> IO (Either ZError a)) -> ZfsT m a
Documentation
A monad transformer encapsulating all ZFS actions. Calls libzfs_init and libzfs_fini.
Zfs | |
|
type Zfs a = forall m. MonadIO m => ZfsT m a #
Some Zfs function that works for all underlying MonadIO instances
data ZpoolConfig #