| Brad Bishop | 78b0486 | 2025-07-08 16:00:37 -0400 | [diff] [blame^] | 1 | #include <string> |
| 2 | |||||
| 3 | inline std::string appendPathSegment(const std::string& target, | ||||
| 4 | const std::string& segment) | ||||
| 5 | { | ||||
| 6 | std::string newPath; | ||||
| 7 | newPath.reserve(target.size() + 1 + segment.size()); | ||||
| 8 | newPath.append(target).append("/").append(segment); | ||||
| 9 | return newPath; | ||||
| 10 | } | ||||