----------------------------------------------------------------------------- Purpose: returns whether current item under examination is marked for archiving -----------------------------------------------------------------------------
| 421 | // Purpose: returns whether current item under examination is marked for archiving |
| 422 | //----------------------------------------------------------------------------- |
| 423 | bool CDirIterator::BCurrentIsMarkedForArchive() const |
| 424 | { |
| 425 | #if defined( _WIN32 ) |
| 426 | return ( m_pFindData->dwFileAttributes & FILE_ATTRIBUTE_ARCHIVE ) != 0; |
| 427 | #else |
| 428 | return ( m_pFindData->attrib & _A_ARCH ? true : false ); |
| 429 | #endif |
| 430 | } |
| 431 | |
| 432 | |
| 433 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected