MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / GetFileNameWithoutExtension

Function GetFileNameWithoutExtension

Shadows/SampleFramework11/FileIO.cpp:68–72  ·  view source on GitHub ↗

Returns the name of the file given the path, minus the extension

Source from the content-addressed store, hash-verified

66
67// Returns the name of the file given the path, minus the extension
68std::wstring GetFileNameWithoutExtension(const wchar* filePath)
69{
70 std::wstring fileName = GetFileName(filePath);
71 return GetFilePathWithoutExtension(fileName.c_str());
72}
73
74// Returns the given file path, minus the extension
75std::wstring GetFilePathWithoutExtension(const wchar* filePath_)

Callers 1

SaveAsOBJMethod · 0.85

Calls 2

GetFileNameFunction · 0.85

Tested by

no test coverage detected