----------------------------------------------------------------------------- Purpose: returns whether current item under examination is read-only -----------------------------------------------------------------------------
| 395 | // Purpose: returns whether current item under examination is read-only |
| 396 | //----------------------------------------------------------------------------- |
| 397 | bool CDirIterator::BCurrentIsReadOnly() const |
| 398 | { |
| 399 | #if defined( _WIN32 ) |
| 400 | return ( m_pFindData->dwFileAttributes & FILE_ATTRIBUTE_READONLY ) != 0; |
| 401 | #else |
| 402 | return ( m_pFindData->attrib & _A_RDONLY ? true : false ); |
| 403 | #endif |
| 404 | } |
| 405 | |
| 406 | |
| 407 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected