MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getTemporaryDirectory

Method getTemporaryDirectory

Engine/source/platform/platformFileIO.cpp:31–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29//-----------------------------------------------------------------------------
30
31StringTableEntry Platform::getTemporaryDirectory()
32{
33 StringTableEntry path = osGetTemporaryDirectory();
34
35 if(! Platform::isDirectory(path))
36 path = Platform::getCurrentDirectory();
37
38 return path;
39}
40
41DefineConsoleFunction( getTemporaryDirectory, const char *, (), ,
42 "@brief Returns the OS temporary directory, \"C:/Users/Mich/AppData/Local/Temp\" for example\n\n"

Callers

nothing calls this directly

Calls 1

osGetTemporaryDirectoryFunction · 0.50

Tested by

no test coverage detected