| 48 | } |
| 49 | |
| 50 | Path Path::parent() const |
| 51 | { |
| 52 | Path p; |
| 53 | if (!empty()) |
| 54 | { |
| 55 | for (int i = 0; i < (size() - 1); i++) |
| 56 | p.push_back((*this)[i]); |
| 57 | } |
| 58 | return p; |
| 59 | } |
| 60 | |
| 61 | Path Path::concat(const std::string& s) const |
| 62 | { |
no test coverage detected