file_type Enumeration
An enumeration for file types. The supported values are regular, and directory, not_found and unknown.
enum file_type;
Name | Value | Description |
|---|---|---|
not_found | -1 | Represents a file that does not exist. |
none | 0 | Represents a file that has no type attribute. (Not supported.) |
regular | 1 | Represents a conventional disk file. |
directory | 2 | Represents a directory. |
symlink | 3 | Represents a symbolic link. (Not supported.) |
block | 4 | Represents a block-special file on UNIX-based systems. (Not supported.) |
character | 5 | Represents a character-special file on UNIX-based systems. (Not supported.) |
fifo | 6 | Represents a FIFO file on UNIX-based systems. (Not supported.) |
socket | 7 | Represents a socket on UNIX based systems. (Not supported.) |
unknown | 8 | Represents a file whose status cannot be determined. |
Requirements
Header: filesystem
Namespace: std::tr2::sys