1
1
Fork 0

Be more specific about Overwrite mode

Dieser Commit ist enthalten in:
Julian Ospald 2016-06-05 16:38:54 +02:00
Ursprung 6da01e382f
Commit 16af98b32d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 511B62C09D50CD28
1 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -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.