Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newtype ZfsContext z = ZfsContext LibzfsHandlePtr
- newtype Zpool z = Zpool (ForeignPtr ZpoolHandle)
- newtype Zdataset z = Zdataset (ForeignPtr ZfsHandle)
- newtype ZfsT z m a = Zfs {
- runZfs' :: ZfsContext z -> m (Either ZError a)
- type Zfs z a = forall m. MonadIO m => ZfsT z m a
- data Vdev
- data ZpoolConfig = ZpoolConfig {}
Documentation
A monad transformer encapsulating all ZFS actions.
Calls libzfs_init and libzfs_fini. The type parameter z
prevents the programmer from passing Zpool and Zfs handles
to the outside.
Zfs | |
|
type Zfs z a = forall m. MonadIO m => ZfsT z m a Source
Some Zfs function that works for all underlying MonadIO instances