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

Method fileDelete

engine/source/platformAndroid/AndroidFileio.cpp:109–118  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

107
108//-----------------------------------------------------------------------------
109bool Platform::fileDelete(const char * name)
110{
111 if(!name )
112 return(false);
113
114 if (dStrlen(name) > MAX_MAC_PATH_LONG)
115 Con::warnf("Platform::FileDelete() - Filename length is pretty long...");
116
117 return(remove(name) == 0); // remove returns 0 on success
118}
119
120
121//-----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

warnfFunction · 0.85
removeFunction · 0.85
dStrlenFunction · 0.70

Tested by

no test coverage detected