StringUtil: Add PathToFileName function

This commit is contained in:
JosJuice
2020-03-16 21:03:21 +01:00
parent c86832849a
commit 5f6598f9e9
4 changed files with 18 additions and 14 deletions

View File

@ -159,6 +159,8 @@ std::string JoinStrings(const std::vector<std::string>& strings, const std::stri
bool SplitPath(std::string_view full_path, std::string* path, std::string* filename,
std::string* extension);
std::string PathToFileName(std::string_view path);
void BuildCompleteFilename(std::string& complete_filename, std::string_view path,
std::string_view filename);