tmp/tmpxj2gviro/{from.md → to.md}
RENAMED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
#### Is directory <a id="fs.op.is_directory">[[fs.op.is_directory]]</a>
|
| 2 |
-
|
| 3 |
-
``` cpp
|
| 4 |
-
bool is_directory(file_status s) noexcept;
|
| 5 |
-
```
|
| 6 |
-
|
| 7 |
-
*Returns:* `s.type() == file_type::directory`.
|
| 8 |
-
|
| 9 |
-
``` cpp
|
| 10 |
-
bool is_directory(const path& p);
|
| 11 |
-
bool is_directory(const path& p, error_code& ec) noexcept;
|
| 12 |
-
```
|
| 13 |
-
|
| 14 |
-
*Returns:* `is_directory(status(p))` or `is_directory(status(p, ec))`,
|
| 15 |
-
respectively. The signature with argument `ec` returns `false` if an
|
| 16 |
-
error occurs.
|
| 17 |
-
|
| 18 |
-
*Throws:* As specified in [[fs.err.report]].
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|