Create from path and base path */
| 215 | |
| 216 | /* Create from path and base path */ |
| 217 | static PathIterator fromPath(const std::string &path, const std::string &basepath, Syntax syntax) |
| 218 | { |
| 219 | if (Path::isAbsolute(path)) |
| 220 | return PathIterator(path.c_str(), nullptr, syntax); |
| 221 | return PathIterator(basepath.c_str(), path.c_str(), syntax); |
| 222 | } |
| 223 | |
| 224 | /* Constructor */ |
| 225 | explicit PathIterator(const char *path_a = nullptr, const char *path_b = nullptr, Syntax syntax = platform_syntax) : |
nothing calls this directly
no test coverage detected