Be more specific about Overwrite mode

This commit is contained in:
Julian Ospald 2016-06-05 16:38:54 +02:00
부모 6da01e382f
커밋 16af98b32d
No known key found for this signature in database
GPG 키 ID: 511B62C09D50CD28
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제

파일 보기

@ -248,7 +248,7 @@ data CopyMode = Strict -- ^ fail if any target exists
-- |Copies the contents of a directory recursively to the given destination.
-- Does not follow symbolic links. This behaves like:
-- Does not follow symbolic links. This behaves more or less like:
--
-- @
-- mkdir \/destination\/dir
@ -258,9 +258,10 @@ data CopyMode = Strict -- ^ fail if any target exists
-- For directory contents, this will ignore any file type that is not
-- `RegularFile`, `SymbolicLink` or `Directory`.
--
-- For `Overwrite` copy mode this does not prune destination directory contents,
-- so the destination might contain more files than the source after
-- the operation has completed.
-- For `Overwrite` copy mode this does not prune destination directory
-- contents, so the destination might contain more files than the source after
-- 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.