blob: f3bd2ce151e92715567b9056e2994c226954f65e [file] [log] [blame]
Brad Bishop78b04862025-07-08 16:00:37 -04001#include <string>
2
3inline 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}