-----------------------------------------------------------------------------
| 914 | |
| 915 | //----------------------------------------------------------------------------- |
| 916 | bool Platform::dumpPath(const char *path, Vector<Platform::FileInfo> &fileVector, int depth) |
| 917 | { |
| 918 | const char* pattern = "*"; |
| 919 | |
| 920 | // if it is not absolute, dump the pref dir first |
| 921 | if (path[0] != '/' && path[0] != '\\') |
| 922 | { |
| 923 | char prefPathName[MaxPath]; |
| 924 | MungePath(prefPathName, MaxPath, path, GetPrefDir()); |
| 925 | RecurseDumpPath(prefPathName, path, pattern, fileVector, 0, depth); |
| 926 | } |
| 927 | |
| 928 | // munge the requested path and dump it |
| 929 | char mungedPath[MaxPath]; |
| 930 | char cwd[MaxPath]; |
| 931 | getcwd(cwd, MaxPath); |
| 932 | MungePath(mungedPath, MaxPath, path, cwd); |
| 933 | return RecurseDumpPath(mungedPath, path, pattern, fileVector, 0, depth); |
| 934 | } |
| 935 | |
| 936 | //----------------------------------------------------------------------------- |
| 937 | StringTableEntry Platform::getCurrentDirectory() |
nothing calls this directly
no test coverage detected