carb::extras::getPathRelative
Defined in carb/extras/Path.h
-
inline Path carb::extras::getPathRelative(std::string path, std::string base)
Helper function to calculate a relative path from a provided path and a base path.
See also
Path::getRelative()
- Parameters
path – a
std::string
representation of a pathbase – a
std::string
representation of the base path
- Returns
Path(path).getRelative(base)