added Path::join utility method

This commit is contained in:
Noel Berry committed 2021-01-14 18:42:12 -08:00
1 parent 261e2fd5e7
commit 69e5e7447b
2 files changed
+12

No files matched your search

+5
View File
@@ -133,4 +133,9 @@ FilePath Path::normalize(const FilePath& path)
}
return normalized;
}
FilePath Path::join(const FilePath& a, const FilePath& b)
{
return normalize(FilePath(a).append("/").append(b));
}