Hackage.Security.Util.Path

Paths

data Path a

castRoot

FilePath-like operations on paths with arbitrary roots

takeDirectory

takeFileName

(<.>)

splitExtension

takeExtension

Unrooted paths

data Unrooted

(</>)

rootPath

unrootPath

toUnrootedFilePath

fromUnrootedFilePath

fragment

joinFragments

splitFragments

isPathPrefixOf

File-system paths

data Relative

data Absolute

data HomeDir

class FsRoot root

data FsPath

Conversions

toFilePath

fromFilePath

makeAbsolute

fromAbsoluteFilePath

Wrappers around System.IO

withFile

openTempFile'

Wrappers around Data.ByteString

readLazyByteString

readStrictByteString

writeLazyByteString

writeStrictByteString

Wrappers around System.Directory

copyFile

createDirectory

createDirectoryIfMissing

removeDirectory

doesFileExist

doesDirectoryExist

getModificationTime

removeFile

getTemporaryDirectory

getDirectoryContents

getRecursiveContents

renameFile

getCurrentDirectory

Wrappers around Codec.Archive.Tar

data Tar

tarIndexLookup

tarAppend

Wrappers around Network.URI

data Web

toURIPath

fromURIPath

uriPath

modifyUriPath

Re-exports

data IOMode

data BufferMode

data Handle

data SeekMode

hSetBuffering

hClose

hFileSize

hSeek