carb::extras::getPathExtension

Defined in carb/extras/Path.h

inline Path carb::extras::getPathExtension(std::string path)

Helper function to get a Path object representing the extension part of the provided string representation of a path.

See also

Path::getExtension()

Parameters

path – a std::string representation of a path

Returns

Path(path).getExtension()