Distribution.Simple.Utils

cabalVersion

# logging and errors

die

dieWithLocation

topHandler

warn

notice

setupMessage

info

debug

chattyTry

# running programs

rawSystemExit

rawSystemExitWithEnv

rawSystemStdout

rawSystemStdInOut

maybeExit

xargs

findProgramLocation

findProgramVersion

# copying files

smartCopySources

createDirectoryIfMissingVerbose

copyFileVerbose

copyDirectoryRecursiveVerbose

copyFiles

# installing files

installOrdinaryFile

installExecutableFile

installOrdinaryFiles

installDirectoryContents

# file names

currentDir

# finding files

findFile

findFileWithExtension

findFileWithExtension'

findModuleFile

findModuleFiles

getDirectoryContentsRecursive

# simple file globbing

matchFileGlob

matchDirFileGlob

parseFileGlob

data FileGlob

# temp files and dirs

withTempFile

withTempDirectory

# .cabal and .buildinfo files

defaultPackageDesc

findPackageDesc

defaultHookedPackageDesc

findHookedPackageDesc

# reading and writing files safely

withFileContents

writeFileAtomic

rewriteFile

# Unicode

fromUTF8

toUTF8

readUTF8File

withUTF8FileContents

writeUTF8File

normaliseLineEndings

# generic utils

equating

comparing

isInfixOf

intercalate

lowercase

wrapText

wrapLine