Defined in header <filesystem> | ||
---|---|---|
bool status_known( std::filesystem::file_status s ); | (1) | (since C++17) |
Checks if the given file status is known, Equivalent to s.type() != file_type::none
.
s | - | file status to check |
true
if the given file status is an unknown file status.
noexcept
specification: noexcept
Despite the name, the function checks for the file status of file_type::none
(meaning an error occurred), not file_type::unknown
(meaning file exists, but its type cannot be determined).
(C++17)(C++17) | determines file attributes determines file attributes, checking the symlink target (function) |
status of the file designated by this directory entry symlink_status of the file designated by this directory entry (public member function of std::filesystem::directory_entry ) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/status_known