| 429 | } |
| 430 | |
| 431 | bool isRoot(const std::string &spath) |
| 432 | { |
| 433 | if (spath.empty()) return false; |
| 434 | fs::path p(spath); |
| 435 | std::string s1 = p.string(); |
| 436 | std::string s2 = p.root_path().string(); |
| 437 | return (s1 == s2); |
| 438 | } |
| 439 | |
| 440 | bool isUNCPath(const std::string &spath) |
| 441 | { |
no test coverage detected