Safe Haskell | None |
---|---|
Language | Haskell98 |
Types for ZFS Properties.
Copyright 2016 Evan Cofsky evan@theunixman.com License: BSD 2-clause
- data ZFS = ZFS ZPool ZDataset
- data ZPool = ZPool String
- data ZDataset = ZDataset [String]
- type ZFSProperties = Set ZFSProperty
- fromList :: [ZFSProperty] -> ZFSProperties
- toPropertyList :: ZFSProperties -> [(String, String)]
- fromPropertyList :: [(String, String)] -> ZFSProperties
- zfsName :: ZFS -> String
- class Value a where
- data ZFSYesNo = ZFSYesNo Bool
- data ZFSOnOff = ZFSOnOff Bool
- data ZFSSize = ZFSSize Integer
- data ZFSString = ZFSString String
- data ZFSACLInherit
- data ZFSACLMode
- data ZFSProperty
- toPair :: ZFSProperty -> (String, String)
- fromPair :: (String, String) -> ZFSProperty
Documentation
A single ZFS filesystem.
Represents a zpool.
Represents a dataset in a zpool.
Can be constructed from a / separated string.
type ZFSProperties = Set ZFSProperty Source #
fromList :: [ZFSProperty] -> ZFSProperties Source #
toPropertyList :: ZFSProperties -> [(String, String)] Source #
fromPropertyList :: [(String, String)] -> ZFSProperties Source #
data ZFSACLInherit Source #
data ZFSACLMode Source #