Dir

list : Path -> Task (List Path) ReadErr

Lists the files and directories inside the directory.

deleteEmptyDir : Path -> Task {} DeleteErr

Deletes a directory if it's empty.

deleteRecursive : Path -> Task {} DeleteErr

Recursively deletes the directory as well as all files and directories inside it.