tmp/tmpw81wsjax/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#### Create directory symlink <a id="fs.op.create.dir.symlk">[[fs.op.create.dir.symlk]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
void create_directory_symlink(const path& to, const path& new_symlink);
|
| 5 |
+
void create_directory_symlink(const path& to, const path& new_symlink,
|
| 6 |
+
error_code& ec) noexcept;
|
| 7 |
+
```
|
| 8 |
+
|
| 9 |
+
*Effects:* Establishes the postcondition, as if by POSIX `symlink()`.
|
| 10 |
+
|
| 11 |
+
*Ensures:* `new_symlink` resolves to a symbolic link file that contains
|
| 12 |
+
an unspecified representation of `to`.
|
| 13 |
+
|
| 14 |
+
*Throws:* As specified in [[fs.err.report]].
|
| 15 |
+
|
| 16 |
+
[*Note 1*: Some operating systems require symlink creation to identify
|
| 17 |
+
that the link is to a directory. Portable code should use
|
| 18 |
+
`create_directory_symlink()` to create directory symlinks rather than
|
| 19 |
+
`create_symlink()` — *end note*]
|
| 20 |
+
|
| 21 |
+
[*Note 2*: Some operating systems do not support symbolic links at all
|
| 22 |
+
or support them only for regular files. Some file systems (such as the
|
| 23 |
+
FAT file system) do not support symbolic links regardless of the
|
| 24 |
+
operating system. — *end note*]
|
| 25 |
+
|