System.FilePath.Posix

# Separator predicates

type FilePath

pathSeparator

pathSeparators

isPathSeparator

searchPathSeparator

isSearchPathSeparator

extSeparator

isExtSeparator

# Path methods (environment $PATH)

splitSearchPath

getSearchPath

# Extension methods

splitExtension

takeExtension

replaceExtension

dropExtension

addExtension

hasExtension

(<.>)

splitExtensions

dropExtensions

takeExtensions

# Drive methods

splitDrive

joinDrive

takeDrive

hasDrive

dropDrive

isDrive

# Operations on a FilePath, as a list of directories

splitFileName

takeFileName

replaceFileName

dropFileName

takeBaseName

replaceBaseName

takeDirectory

replaceDirectory

combine

(</>)

splitPath

joinPath

splitDirectories

# Low level FilePath operators

hasTrailingPathSeparator

addTrailingPathSeparator

dropTrailingPathSeparator

# File name manipulators

normalise

equalFilePath

makeRelative

isRelative

isAbsolute

isValid

makeValid