-----------------------------------------------------------------------------
| 890 | |
| 891 | //----------------------------------------------------------------------------- |
| 892 | bool Platform::dumpPath(const char *path, Vector<Platform::FileInfo> &fileVector, int depth) |
| 893 | { |
| 894 | const char* pattern = "*"; |
| 895 | |
| 896 | // if it is not absolute, dump the pref dir first |
| 897 | if (path[0] != '/' && path[0] != '\\') |
| 898 | { |
| 899 | char prefPathName[MaxPath]; |
| 900 | MungePath(prefPathName, MaxPath, path, GetPrefDir()); |
| 901 | RecurseDumpPath(prefPathName, path, pattern, fileVector, depth); |
| 902 | } |
| 903 | |
| 904 | // munge the requested path and dump it |
| 905 | char mungedPath[MaxPath]; |
| 906 | char cwd[MaxPath]; |
| 907 | getcwd(cwd, MaxPath); |
| 908 | MungePath(mungedPath, MaxPath, path, cwd); |
| 909 | return RecurseDumpPath(mungedPath, path, pattern, fileVector, depth); |
| 910 | } |
| 911 | |
| 912 | //----------------------------------------------------------------------------- |
| 913 | bool Platform::isFile(const char *pFilePath) |
nothing calls this directly
no test coverage detected