std::experimental::filesystem::file_type
From cppreference.com
< cpp | experimental | fs
C++
Experimental
| Technical Specification | ||||
| Filesystem library (filesystem TS) | ||||
| Library fundamentals (library fundamentals TS) | ||||
| Library fundamentals 2 (library fundamentals TS v2) | ||||
| Library fundamentals 3 (library fundamentals TS v3) | ||||
| Extensions for parallelism (parallelism TS) | ||||
| Extensions for parallelism 2 (parallelism TS v2) | ||||
| Extensions for concurrency (concurrency TS) | ||||
| Extensions for concurrency 2 (concurrency TS v2) | ||||
| Concepts (concepts TS) | ||||
| Ranges (ranges TS) | ||||
| Reflection (reflection TS) | ||||
| Mathematical special functions (special functions TR) | ||||
| Experimental Non-TS | ||||
| Pattern Matching | ||||
| Linear Algebra | ||||
| std::execution | ||||
| Contracts | ||||
| 2D Graphics |
Filesystem library
| Classes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| File types | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Defined in header <experimental/filesystem>
|
||
| enum class file_type { none = 0, |
(filesystem TS) | |
Indicates a type of a file or directory a path refers to.
| This section is incomplete |
[edit] Constants
| Constant | Meaning |
none
|
indicates that the file status has not been evaluated yet, or an error occurred when evaluating it |
not_found
|
indicates that the file was not found (this is not considered an error) |
regular
|
a regular file |
directory
|
a directory |
symlink
|
a symbolic link |
block
|
a block special file |
character
|
a character special file |
fifo
|
a FIFO (also known as pipe) file |
socket
|
a socket file |
unknown
|
an unknown file |
[edit] See also
| This section is incomplete |