carb::extras::getPathParent

Defined in carb/extras/Path.h

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

Helper function to get a Path object representing parent directory for the provided string representation of a path.

See also

Path::getParent()

Parameters

path – a std::string representation of a path

Returns

Path(path).getParent()