tmp/tmp9jnnzh7l/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Enum class `copy_options` <a id="fs.enum.copy.opts">[[fs.enum.copy.opts]]</a>
|
| 2 |
+
|
| 3 |
+
The `enum class` type `copy_options` is a bitmask type (
|
| 4 |
+
[[bitmask.types]]) that specifies bitmask constants used to control the
|
| 5 |
+
semantics of copy operations. The constants are specified in option
|
| 6 |
+
groups with the meanings listed in Table [[tab:fs.enum.copy_options]].
|
| 7 |
+
Constant `none` is shown in each option group for purposes of
|
| 8 |
+
exposition; implementations shall provide only a single definition.
|
| 9 |
+
|
| 10 |
+
**Table: Enum class `copy_options`** <a id="tab:fs.enum.copy_options">[tab:fs.enum.copy_options]</a>
|
| 11 |
+
|
| 12 |
+
| Constant | Meaning |
|
| 13 |
+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 14 |
+
| `none` | (Default) Error; file already exists. |
|
| 15 |
+
| `skip_existing` | Do not overwrite existing file, do not report an error. |
|
| 16 |
+
| `overwrite_existing` | Overwrite the existing file. |
|
| 17 |
+
| `update_existing` | Overwrite the existing file if it is older than the replacement file. \ohdrx{2}{Option group controlling `copy` function effects for sub-directories} |
|
| 18 |
+
| `recursive` | Recursively copy sub-directories and their contents. \ohdrx{2}{Option group controlling `copy` function effects for symbolic links} |
|
| 19 |
+
| `copy_symlinks` | Copy symbolic links as symbolic links rather than copying the files that they point to. |
|
| 20 |
+
| `skip_symlinks` | Ignore symbolic links. \ohdrx{2}{Option group controlling `copy` function effects for choosing the form of copying} |
|
| 21 |
+
| `directories_only` | Copy directory structure only, do not copy non-directory files. |
|
| 22 |
+
| `create_symlinks` | Make symbolic links instead of copies of files. The source path shall be an absolute path unless the destination path is in the current directory. |
|
| 23 |
+
| `create_hard_links` | Make hard links instead of copies of files. |
|
| 24 |
+
|
| 25 |
+
|