| 462 | ///////////////////////////////////////////////////////////////////////// |
| 463 | |
| 464 | bool cDosPath::IsAbsolutePath(const TSTRING& in) |
| 465 | { |
| 466 | if (in.empty()) |
| 467 | return false; |
| 468 | |
| 469 | if (in[0] == '/') |
| 470 | return true; |
| 471 | |
| 472 | if (in.length() >= 2 && in[1] == ':') |
| 473 | return true; |
| 474 | |
| 475 | return false; |
| 476 | } |
| 477 | |
| 478 | // For paths of type C:\DOS |
| 479 | TSTRING cDosPath::AsPosix(const TSTRING& in) |
no test coverage detected