tmp/tmp9z9khok9/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Copy symlink <a id="fs.op.copy_symlink">[[fs.op.copy_symlink]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
void copy_symlink(const path& existing_symlink, const path& new_symlink);
|
| 5 |
+
void copy_symlink(const path& existing_symlink, const path& new_symlink,
|
| 6 |
+
error_code& ec) noexcept;
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Effects:* Equivalent to
|
| 10 |
+
*`function`*`(read_symlink(existing_symlink), new_symlink)` or
|
| 11 |
+
*`function`*`(read_symlink(existing_symlink, ec), new_symlink, ec)`,
|
| 12 |
+
respectively, where in each case *`function`* is `create_symlink` or
|
| 13 |
+
`create_directory_symlink` as appropriate.
|
| 14 |
+
|
| 15 |
+
*Throws:* As specified in [[fs.err.report]].
|
| 16 |
+
|