ganeti-3.1: Cluster-based virtualization management software
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ganeti.Compat

Description

Compatibility helper module.

This module holds definitions that help with supporting multiple library versions or transitions between versions.

Synopsis

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 #

getPid' :: ProcessHandle -> IO (Maybe Pid) #

openFd :: FilePath -> OpenMode -> Maybe FileMode -> OpenFileFlags -> IO Fd #

closeFd :: Fd -> IO () #