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