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

Method CurrentFileCreateTime

src/vrcore/dirtools_public.cpp:358–365  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: returns the creation time of the file -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

356// Purpose: returns the creation time of the file
357//-----------------------------------------------------------------------------
358int64_t CDirIterator::CurrentFileCreateTime() const
359{
360#if defined( _WIN32 )
361 return FileTimeToUnixTime( m_pFindData->ftCreationTime );
362#else
363 return m_pFindData->time_create;
364#endif
365}
366
367
368//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

FileTimeToUnixTimeFunction · 0.85

Tested by

no test coverage detected