| 1021 | } |
| 1022 | |
| 1023 | String Beefy::GetFileDir(const StringImpl& path) |
| 1024 | { |
| 1025 | int slashPos = BF_MAX((int)path.LastIndexOf('\\'), (int)path.LastIndexOf('/')); |
| 1026 | if (slashPos == -1) |
| 1027 | return ""; |
| 1028 | return path.Substring(0, slashPos); |
| 1029 | } |
| 1030 | |
| 1031 | String Beefy::GetFileName(const StringImpl& path) |
| 1032 | { |
nothing calls this directly
no test coverage detected