tmp/tmpo56s1ess/{from.md → to.md}
RENAMED
|
@@ -4,21 +4,21 @@
|
|
| 4 |
void filesystem::create_directory_symlink(const path& to, const path& new_symlink);
|
| 5 |
void filesystem::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. Thus, `create_symlink
|
| 18 |
-
`create_directory_symlink
|
| 19 |
-
|
| 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*]
|
|
|
|
| 4 |
void filesystem::create_directory_symlink(const path& to, const path& new_symlink);
|
| 5 |
void filesystem::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. Thus, `create_symlink` (instead of
|
| 18 |
+
`create_directory_symlink`) cannot be used reliably to create directory
|
| 19 |
+
symlinks. — *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*]
|