tmp/tmpgv6avedy/{from.md → to.md}
RENAMED
|
@@ -2,8 +2,22 @@
|
|
| 2 |
|
| 3 |
This enum class specifies constants used to identify file types, with
|
| 4 |
the meanings listed in [[fs.enum.file.type]]. The values of the
|
| 5 |
constants are distinct.
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
|
|
|
| 2 |
|
| 3 |
This enum class specifies constants used to identify file types, with
|
| 4 |
the meanings listed in [[fs.enum.file.type]]. The values of the
|
| 5 |
constants are distinct.
|
| 6 |
|
| 7 |
+
**Table: Enum class `file_type`** <a id="fs.enum.file.type">[fs.enum.file.type]</a>
|
| 8 |
+
|
| 9 |
+
| Constant | Meaning |
|
| 10 |
+
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 11 |
+
| `none` | The type of the file has not been determined or an error occurred while trying to determine the type. |
|
| 12 |
+
| `not_found` | Pseudo-type indicating the file was not found. *The file not being found is not considered an error while determining the type of a file.* |
|
| 13 |
+
| `regular` | Regular file |
|
| 14 |
+
| `directory` | Directory file |
|
| 15 |
+
| `symlink` | Symbolic link file |
|
| 16 |
+
| `block` | Block special file |
|
| 17 |
+
| `character` | Character special file |
|
| 18 |
+
| `fifo` | FIFO or pipe file |
|
| 19 |
+
| `socket` | Socket file |
|
| 20 |
+
| `implementation-defined` | Implementations that support file systems having file types in addition to the above `file_type` types shall supply implementation-defined `file_type` constants to separately identify each of those additional file types |
|
| 21 |
+
| `unknown` | The file exists but the type cannot be determined |
|
| 22 |
+
|
| 23 |
|