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

Method BCurrentIsHidden

src/vrcore/dirtools_public.cpp:384–391  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: returns whether current item under examination is a hidden file -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

382// Purpose: returns whether current item under examination is a hidden file
383//-----------------------------------------------------------------------------
384bool CDirIterator::BCurrentIsHidden() const
385{
386#if defined( _WIN32 )
387 return ( m_pFindData->dwFileAttributes & FILE_ATTRIBUTE_HIDDEN ) != 0;
388#else
389 return ( m_pFindData->attrib & _A_HIDDEN ? true : false );
390#endif
391}
392
393
394//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected