MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / BCurrentIsMarkedForArchive

Method BCurrentIsMarkedForArchive

src/vrcore/dirtools_public.cpp:423–430  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: returns whether current item under examination is marked for archiving -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

421// Purpose: returns whether current item under examination is marked for archiving
422//-----------------------------------------------------------------------------
423bool 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//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected