mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-29 19:25:26 +08:00
added Path::join utility method
This commit is contained in:
@ -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));
|
||||
}
|
Reference in New Issue
Block a user