| 84 | //----------------------------------------------------------------------------- |
| 85 | |
| 86 | static String _BuildFileName(const String& prefix,const Path& path) |
| 87 | { |
| 88 | // Need to join the path (minus the root) with our |
| 89 | // internal path name. |
| 90 | String file = prefix; |
| 91 | file = Path::Join(file, '/', path.getPath()); |
| 92 | if (path.getFileName().isEmpty() && path.getExtension().isNotEmpty()) //weird, filename-less file, so handle it slightly special-case |
| 93 | file += String("/"); |
| 94 | else |
| 95 | file = Path::Join(file, '/', path.getFileName()); |
| 96 | file = Path::Join(file, '.', path.getExtension()); |
| 97 | return file; |
| 98 | } |
| 99 | |
| 100 | /* |
| 101 | static bool _IsFile(const String& file) |
no test coverage detected