System.FilePath.Posix

# Separator predicates

type FilePath

pathSeparator

pathSeparators

isPathSeparator

searchPathSeparator

isSearchPathSeparator

extSeparator

isExtSeparator

# `$PATH` methods

splitSearchPath

getSearchPath

# Extension functions

splitExtension

takeExtension

replaceExtension

(-<.>)

dropExtension

addExtension

hasExtension

(<.>)

splitExtensions

dropExtensions

takeExtensions

# Filename/directory functions

splitFileName

takeFileName

replaceFileName

dropFileName

takeBaseName

replaceBaseName

takeDirectory

replaceDirectory

combine

(</>)

splitPath

joinPath

splitDirectories

# Drive functions

splitDrive

joinDrive

takeDrive

hasDrive

dropDrive

isDrive

# Trailing slash functions

hasTrailingPathSeparator

addTrailingPathSeparator

dropTrailingPathSeparator

# File name manipulations

normalise

equalFilePath

makeRelative

isRelative

isAbsolute

isValid

makeValid