MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetFileName

Method GetFileName

common/FileSystem.cpp:634–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634std::string_view Path::GetFileName(const std::string_view path)
635{
636 const std::string_view::size_type pos = GetLastSeperatorPosition(path, true);
637 if (pos == std::string_view::npos)
638 return path;
639
640 return path.substr(pos);
641}
642
643std::string_view Path::GetFileTitle(const std::string_view path)
644{

Callers 9

InitializeConfigMethod · 0.80
SaveGameSettingsMethod · 0.80
onNewProfileClickedMethod · 0.80
reopenMethod · 0.80
DoCopyGameSettingsMethod · 0.80
DoClearGameSettingsMethod · 0.80
RenderMethod · 0.80

Calls 2

GetLastSeperatorPositionFunction · 0.85
substrMethod · 0.80

Tested by

no test coverage detected