----------------------------------------------------------------------------- Purpose: returns size of the file -----------------------------------------------------------------------------
| 301 | // Purpose: returns size of the file |
| 302 | //----------------------------------------------------------------------------- |
| 303 | int64_t CDirIterator::CurrentFileLength() const |
| 304 | { |
| 305 | #if defined( _WIN32 ) |
| 306 | LARGE_INTEGER li = { { m_pFindData->nFileSizeLow, ( LONG )m_pFindData->nFileSizeHigh } }; |
| 307 | return li.QuadPart; |
| 308 | #else |
| 309 | return ( int64_t )m_pFindData->size; |
| 310 | #endif |
| 311 | } |
| 312 | |
| 313 | #if defined( _WIN32 ) |
| 314 | //----------------------------------------------------------------------------- |
nothing calls this directly
no outgoing calls
no test coverage detected