diff --git a/src/HPath/IO.hs b/src/HPath/IO.hs index 6c90152..682a657 100644 --- a/src/HPath/IO.hs +++ b/src/HPath/IO.hs @@ -227,7 +227,9 @@ data FileType = Directory -- -- On `CollectFailures` skips errors in the recursion and keeps on recursing. -- However all errors are collected in the `RecursiveFailure` error type, --- which is raised finally if there was any error. +-- which is raised finally if there was any error. Also note that +-- `RecursiveFailure` does not give any guarantees on the ordering +-- of the collected exceptions. data RecursiveErrorMode = FailEarly | CollectFailures @@ -263,9 +265,6 @@ data CopyMode = Strict -- ^ fail if any target exists -- the operation has completed. Permissions of existing directories are -- fixed. -- --- Note that there is no guaranteed ordering of the exceptions --- contained within `RecursiveFailure` in `CollectFailures` RecursiveErrorMode. --- -- Safety/reliability concerns: -- -- * not atomic