Safe Haskell | Safe |
---|
Ganeti.Compat
Contents
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)
Documentation
filePath' :: Event -> FilePath Source #
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 Source #
toInotifyPath :: FilePath -> RawFilePath Source #
Orphan instances
MonadFail Result # | MonadFail.Fail instance definitions for JSON results Required as of GHC 8.6 because MonadFailDesugaring is on by default: https://gitlab.haskell.org/ghc/ghc/wikis/migration/8.6. Added upstream in version 0.10. |
Methods fail :: String -> Result a |