| 90 | //--------------------------------------------------------------------------------------// |
| 91 | |
| 92 | BOOST_FILESYSTEM_DECL void directory_entry::refresh_impl(system::error_code* ec) const |
| 93 | { |
| 94 | m_status = filesystem::file_status(); |
| 95 | m_symlink_status = filesystem::file_status(); |
| 96 | |
| 97 | m_symlink_status = detail::symlink_status(m_path, ec); |
| 98 | |
| 99 | if (!filesystem::is_symlink(m_symlink_status)) |
| 100 | { |
| 101 | // Also works if symlink_status fails - set m_status to status_error as well |
| 102 | m_status = m_symlink_status; |
| 103 | } |
| 104 | else |
| 105 | { |
| 106 | m_status = detail::status(m_path, ec); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | //--------------------------------------------------------------------------------------// |
| 111 | // // |
nothing calls this directly
no test coverage detected