Path.IO

# Actions on directories

createDir

createDirIfMissing

ensureDir

removeDir

removeDirRecur

renameDir

listDir

listDirRecur

copyDirRecur

copyDirRecur'

## Walking directory trees

data WalkAction

walkDir

walkDirAccum

## Current working directory

getCurrentDir

setCurrentDir

withCurrentDir

# Pre-defined directories

getHomeDir

getAppUserDataDir

getUserDocsDir

getTempDir

data XdgDirectory

getXdgDir

# Path transformation

type family AbsPath path where ...

type family RelPath path where ...

class AnyPath path

resolveFile

resolveFile'

resolveDir

resolveDir'

# Actions on files

removeFile

renameFile

copyFile

findExecutable

findFile

findFiles

findFilesWith

# Temporary files and directories

withTempFile

withTempDir

withSystemTempFile

withSystemTempDir

openTempFile

openBinaryTempFile

createTempDir

# Existence tests

doesFileExist

doesDirExist

isLocationOccupied

forgivingAbsence

ignoringAbsence

# Permissions

data Permissions

emptyPermissions

readable

writable

executable

searchable

setOwnerReadable

setOwnerWritable

setOwnerExecutable

setOwnerSearchable

getPermissions

setPermissions

copyPermissions

# Timestamps

getAccessTime

setAccessTime

setModificationTime

getModificationTime