Safe Haskell | Safe |
---|
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
- type Pid = CPid
- 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 #
Process 1.6.3. introduced the getPid function, for older versions provide an implemention here (https:/github.comhaskellprocesspull/109)