std::experi...::file_type(3)
π std::experi...::file_type(3) π
okay bestie, welcome to the C++ Standard Libary manual β yes, thatβs the spelling, donβt come for me π β and this page is all about std::experi...::file_type(3). iconic little enum, fr fr.
π NAME π
std::experimental::filesystem::file_type β and yeah, itβs literally also std::experimental::filesystem::file_type. the full name is doing the most, but we respect it π«Ά
β¨ Synopsis β¨
Defined in header <experimental/filesystem>, and the enum goes like this:
Defined in header <experimental/filesystem>
enum class file_type {
none = 0,
not_found = -1,
regular = 1,
directory = 2,
symlink = 3, (filesystem TS)
block = 4,
character = 5,
fifo = 6,
socket = 7,
unknown = 8
};
It indicates a type of a file or directory a path refers to. very βwhat even are you, actually?β energy π
π§ This section is incomplete π§
πΈ Constants πΈ
hereβs the constant tea, one by one β:
noneβ indicates that the file status has not been evaluated yet, or an error occurred when evaluating itnot_foundβ indicates that the file was not found (this is not considered an error)regularβ a regular filedirectoryβ a directorysymlinkβ a symbolic linkblockβ a block special filecharacterβ a character special filefifoβ a FIFO (also known as pipe) filesocketβ a socket fileunknownβ an unknown file
π¦ See also π¦
π§ This section is incomplete π§
thatβs it, bestie. no extra lore on this one π
π Categories π
this page is filed under:
- Noindexed pages
- Todo without reason
mwah π thatβs the whole page. source/version and date: http://cppreference.com, 2024.06.10 β slay, bye bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms