----------------------------------------------------------------------------- Purpose: returns whether current item under examination is a directory -----------------------------------------------------------------------------
| 369 | // Purpose: returns whether current item under examination is a directory |
| 370 | //----------------------------------------------------------------------------- |
| 371 | bool CDirIterator::BCurrentIsDir() const |
| 372 | { |
| 373 | #if defined( _WIN32 ) |
| 374 | return ( m_pFindData->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ) != 0; |
| 375 | #else |
| 376 | return ( m_pFindData->attrib & _A_SUBDIR ? true : false ); |
| 377 | #endif |
| 378 | } |
| 379 | |
| 380 | |
| 381 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected