std::experimental::filesystem::directory_entry::status
From cppreference.com
< cpp | experimental | fs | directory entry
file_status status() const;
|
(filesystem TS) | |
file_status status( error_code& ec ) const;
|
(filesystem TS) | |
Returns the potentially cached status of the entry.
The second version returns file_status::none and sets ec
to an appropriate error code if an error occurs. Otherwise, ec
is cleared with a call to ec.clear().
Contents |
[edit] Parameters
ec | - | error code to set |
[edit] Return value
The status of the file referred to by the entry.
[edit] Exceptions
1) filesystem_error if an error occurs. The exception object is constructed with path of the directory entry as an argument.
2)
noexcept specification:
noexcept
[edit] See also
This section is incomplete |