16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 04:39:18 +02:00

substr_path refactor

This commit is contained in:
docentYT
2026-05-01 13:45:57 +02:00
parent 5f117832fb
commit 664c340d84
2 changed files with 4 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ void erase_leading_slashes(std::string &Filename);
void replace_slashes(std::string &Filename);
// returns potential path part from provided file name
std::string substr_path(std::string const &Filename);
std::string_view substr_path(std::string const &Filename);
// returns common prefix of two provided strings
std::ptrdiff_t len_common_prefix(std::string const &Left, std::string const &Right);