-----------------------------------------------------------------------------
| 943 | |
| 944 | //----------------------------------------------------------------------------- |
| 945 | bool Platform::setCurrentDirectory(StringTableEntry newDir) |
| 946 | { |
| 947 | if (Platform::getWebDeployment()) |
| 948 | return true; |
| 949 | |
| 950 | TempAlloc< UTF8 > buf( dStrlen( newDir ) + 2 ); |
| 951 | |
| 952 | dStrcpy( buf, newDir, buf.size ); |
| 953 | |
| 954 | ForwardSlash( buf ); |
| 955 | return chdir( buf ) == 0; |
| 956 | } |
| 957 | |
| 958 | //----------------------------------------------------------------------------- |
| 959 | const char *Platform::getUserDataDirectory() |
nothing calls this directly
no test coverage detected