| 1235 | } |
| 1236 | |
| 1237 | bool IsScriptFile(const char* pFilePath) |
| 1238 | { |
| 1239 | return (sgMountSystem.isFile(pFilePath) |
| 1240 | || sgMountSystem.isFile(pFilePath + String(".dso")) |
| 1241 | || sgMountSystem.isFile(pFilePath + String(".mis")) |
| 1242 | || sgMountSystem.isFile(pFilePath + String(".mis.dso")) |
| 1243 | || sgMountSystem.isFile(pFilePath + String(".gui")) |
| 1244 | || sgMountSystem.isFile(pFilePath + String(".gui.dso")) |
| 1245 | || sgMountSystem.isFile(pFilePath + String("." TORQUE_SCRIPT_EXTENSION)) |
| 1246 | || sgMountSystem.isFile(pFilePath + String("." TORQUE_SCRIPT_EXTENSION) + String(".dso"))); |
| 1247 | } |
| 1248 | |
| 1249 | bool IsDirectory(const Path &path) |
| 1250 | { |
no test coverage detected