Function TRAP::FileSystem::GetFolderPath#

Function Documentation#

TRAP::Optional<std::filesystem::path> TRAP::FileSystem::GetFolderPath(const std::filesystem::path &filePath)#

Get only the folder without the filename and its ending.

Parameters:

filePath – File path.

Returns:

Folder path from file path on success, empty optional otherwise.