Safe Haskell | None |
---|
- data XsHandle
- data XsError
- data Perm
- data XsPerms = XsPerms {}
- type XsPath = ByteString
- type XsData = ByteString
- type XsWatchCallback = XsPath -> IO ()
- initiateXS :: IO XsHandle
- terminateXS :: XsHandle -> IO ()
- withXS :: (XsHandle -> IO a) -> IO a
- tryXS :: IO a -> IO (Maybe a)
- withTransaction :: XsHandle -> IO a -> IO a
- xsWrite :: XsHandle -> XsPath -> XsData -> IO ()
- xsRead :: XsHandle -> XsPath -> IO XsData
- xsMkdir :: XsHandle -> XsPath -> IO ()
- xsRm :: XsHandle -> XsPath -> IO ()
- xsDirectory :: XsHandle -> XsPath -> IO [XsPath]
- xsGetPerms :: XsHandle -> XsPath -> IO XsPerms
- xsSetPerms :: XsHandle -> XsPath -> XsPerms -> IO ()
- xsGetDomainPath :: XsHandle -> Word32 -> IO XsPath
- xsWatch :: XsHandle -> XsPath -> XsData -> XsWatchCallback -> IO ()
- xsUnwatch :: XsHandle -> XsPath -> XsData -> IO ()
Documentation
type XsPath = ByteStringSource
type XsData = ByteStringSource
type XsWatchCallback = XsPath -> IO ()Source
terminateXS :: XsHandle -> IO ()Source
withTransaction :: XsHandle -> IO a -> IO aSource