Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ganeti.Compat
Description
Compatibility helper module.
This module holds definitions that help with supporting multiple library versions or transitions between versions.
Synopsis
- filePath' :: Event -> FilePath
- maybeFilePath' :: Event -> Maybe FilePath
- toInotifyPath :: FilePath -> RawFilePath
- getPid' :: ProcessHandle -> IO (Maybe Pid)
- openFd :: FilePath -> OpenMode -> Maybe FileMode -> OpenFileFlags -> IO Fd
- closeFd :: Fd -> IO ()
Documentation
filePath' :: Event -> FilePath #
Wrappers converting ByteString filepaths to Strings and vice versa
hinotify 0.3.10 switched to using RawFilePaths instead of FilePaths, the former being Data.ByteString and the latter String.
maybeFilePath' :: Event -> Maybe FilePath #
toInotifyPath :: FilePath -> RawFilePath #