tmp/tmpgnzbdzm1/{from.md → to.md}
RENAMED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##### `path` query <a id="fs.path.query">[[fs.path.query]]</a>
|
| 2 |
+
|
| 3 |
+
``` cpp
|
| 4 |
+
bool empty() const noexcept;
|
| 5 |
+
```
|
| 6 |
+
|
| 7 |
+
*Returns:* `true` if the pathname in the generic format is empty, else
|
| 8 |
+
`false`.
|
| 9 |
+
|
| 10 |
+
``` cpp
|
| 11 |
+
bool has_root_path() const;
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
*Returns:* `!root_path().empty()`.
|
| 15 |
+
|
| 16 |
+
``` cpp
|
| 17 |
+
bool has_root_name() const;
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
*Returns:* `!root_name().empty()`.
|
| 21 |
+
|
| 22 |
+
``` cpp
|
| 23 |
+
bool has_root_directory() const;
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
*Returns:* `!root_directory().empty()`.
|
| 27 |
+
|
| 28 |
+
``` cpp
|
| 29 |
+
bool has_relative_path() const;
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
*Returns:* `!relative_path().empty()`.
|
| 33 |
+
|
| 34 |
+
``` cpp
|
| 35 |
+
bool has_parent_path() const;
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
*Returns:* `!parent_path().empty()`.
|
| 39 |
+
|
| 40 |
+
``` cpp
|
| 41 |
+
bool has_filename() const;
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
*Returns:* `!filename().empty()`.
|
| 45 |
+
|
| 46 |
+
``` cpp
|
| 47 |
+
bool has_stem() const;
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
*Returns:* `!stem().empty()`.
|
| 51 |
+
|
| 52 |
+
``` cpp
|
| 53 |
+
bool has_extension() const;
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
*Returns:* `!extension().empty()`.
|
| 57 |
+
|
| 58 |
+
``` cpp
|
| 59 |
+
bool is_absolute() const;
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
*Returns:* `true` if the pathname in the native format contains an
|
| 63 |
+
absolute path ([[fs.def.absolute.path]]), else `false`.
|
| 64 |
+
|
| 65 |
+
[*Example 9*: `path("/").is_absolute()` is `true` for POSIX-based
|
| 66 |
+
operating systems, and `false` for Windows-based operating
|
| 67 |
+
systems. — *end example*]
|
| 68 |
+
|
| 69 |
+
``` cpp
|
| 70 |
+
bool is_relative() const;
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
*Returns:* `!is_absolute()`.
|
| 74 |
+
|