Function TRAP::FileSystem::GetFileNameWithoutEnding#
Function Documentation#
-
TRAP::Optional<std::string> TRAP::FileSystem::GetFileNameWithoutEnding(const std::filesystem::path &path)#
Get only the filename without its folders and ending/suffix from a file path.
- Parameters:
path – File path.
- Returns:
String only containing the filename without its folders and file ending on success, empty optional otherwise.