Create from a pattern and base path */
| 207 | public: |
| 208 | /* Create from a pattern and base path */ |
| 209 | static PathIterator fromPattern(const std::string &pattern, const std::string &basepath, Syntax syntax) |
| 210 | { |
| 211 | if (isRelativePattern(pattern)) |
| 212 | return PathIterator(basepath.c_str(), pattern.c_str(), syntax); |
| 213 | return PathIterator(pattern.c_str(), nullptr, syntax); |
| 214 | } |
| 215 | |
| 216 | /* Create from path and base path */ |
| 217 | static PathIterator fromPath(const std::string &path, const std::string &basepath, Syntax syntax) |
nothing calls this directly
no test coverage detected