std::filesystem::status_known - cppreference.com (original) (raw)
Checks if the given file status is known, equivalent to s.type() != file_type::none.
[edit] Parameters
[edit] Return value
true if the given file status is a known file status.
[edit] Notes
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).
[edit] See also
| | determines file attributesdetermines file attributes, checking the symlink target (function) [edit] | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | status of the file designated by this directory entry;status of the file/symlink designated by this directory entry (public member function of std::filesystem::directory_entry) [edit] |