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:
@ -37,5 +37,12 @@ namespace Blah
|
||||
FilePath get_path_after(const FilePath& path, const FilePath& after);
|
||||
FilePath get_directory_name(const FilePath& path);
|
||||
FilePath normalize(const FilePath& path);
|
||||
FilePath join(const FilePath& a, const FilePath& b);
|
||||
|
||||
template<typename ... Args>
|
||||
FilePath join(const FilePath& a, const FilePath& b, const Args&... args)
|
||||
{
|
||||
return join(a, join(b, args...));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user