MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / dFileTouch

Function dFileTouch

engine/source/platformAndroid/AndroidFileio.cpp:122–129  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

120
121//-----------------------------------------------------------------------------
122bool dFileTouch(const char *path)
123{
124 if (!path || !*path)
125 return false;
126
127 // set file at path's modification and access times to now.
128 return( utimes( path, NULL) == 0); // utimes returns 0 on success.
129}
130
131//-----------------------------------------------------------------------------
132// Constructors & Destructor

Callers 1

AndroidFileio.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected