----------------------------------------------------------------------------- Purpose: returns whether current item under examination is marked as a system file -----------------------------------------------------------------------------
| 408 | // Purpose: returns whether current item under examination is marked as a system file |
| 409 | //----------------------------------------------------------------------------- |
| 410 | bool CDirIterator::BCurrentIsSystem() const |
| 411 | { |
| 412 | #if defined( _WIN32 ) |
| 413 | return ( m_pFindData->dwFileAttributes & FILE_ATTRIBUTE_SYSTEM ) != 0; |
| 414 | #else |
| 415 | return ( m_pFindData->attrib & _A_SYSTEM ? true : false ); |
| 416 | #endif |
| 417 | } |
| 418 | |
| 419 | |
| 420 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected