| 13 | namespace toft { |
| 14 | |
| 15 | bool Path::IsSeparator(char ch) |
| 16 | { |
| 17 | #ifdef _WIN32 |
| 18 | return ch == '\\' || ch == '/'; |
| 19 | #else |
| 20 | return ch == '/'; |
| 21 | #endif |
| 22 | } |
| 23 | |
| 24 | std::string Path::GetBaseName(const std::string& filepath) |
| 25 | { |
nothing calls this directly
no outgoing calls
no test coverage detected