* Like appendPath(), but does not affect this string. Returns a new one instead. */
| 225 | * Like appendPath(), but does not affect this string. Returns a new one instead. |
| 226 | */ |
| 227 | String8 appendPathCopy(const char* leaf) const |
| 228 | { String8 p(*this); p.appendPath(leaf); return p; } |
| 229 | String8 appendPathCopy(const String8& leaf) const { return appendPathCopy(leaf.string()); } |
| 230 | |
| 231 | /* |