Safe Haskell | None |
---|
Documentation
FPath | |
|
class FPathError e Source
fpathFromStr :: String -> FPathSource
mkFPathFromDirsFile :: Show s => [s] -> s -> FPathSource
fpathToStr :: FPath -> StringSource
fpathIsEmpty :: FPath -> BoolSource
fpathSetBase :: String -> FPath -> FPathSource
fpathSetSuff :: String -> FPath -> FPathSource
fpathSetDir :: String -> FPath -> FPathSource
fpathRemoveSuff :: FPath -> FPathSource
fpathRemoveDir :: FPath -> FPathSource
fpathIsAbsolute :: FPath -> BoolSource
fpathAppendDir :: FPath -> String -> FPathSource
fpathUnAppendDir :: FPath -> String -> FPathSource
fpathPrependDir :: String -> FPath -> FPathSource
fpathUnPrependDir :: String -> FPath -> FPathSource
mkTopLevelFPath :: String -> String -> FPathSource
type SearchPath = [String]Source
type FileSuffixes = [FileSuffix]Source
type FileSuffix = Maybe StringSource
searchPathFromString :: String -> [String]Source
searchLocationsForReadableFiles :: FPathError e => (loc -> FPath -> [(loc, FPath, [e])]) -> Bool -> [loc] -> FileSuffixes -> FPath -> IO [(FPath, loc, [e])]Source
searchPathForReadableFiles :: Bool -> SearchPath -> FileSuffixes -> FPath -> IO [FPath]Source
searchPathForReadableFile :: SearchPath -> FileSuffixes -> FPath -> IO (Maybe FPath)Source
fpathEnsureExists :: FPath -> IO ()Source