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

Method CurrentFileWriteTime

src/vrcore/dirtools_public.cpp:345–352  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: returns last write time of the file -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

343// Purpose: returns last write time of the file
344//-----------------------------------------------------------------------------
345int64_t CDirIterator::CurrentFileWriteTime() const
346{
347#if defined( _WIN32 )
348 return FileTimeToUnixTime( m_pFindData->ftLastWriteTime );
349#else
350 return m_pFindData->time_write;
351#endif
352}
353
354
355//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

FileTimeToUnixTimeFunction · 0.85

Tested by

no test coverage detected