Function gkfs::path::absolute_to_relative(const string&, const string&)
Defined in File path_util.cpp
Function Documentation
-
string gkfs::path::absolute_to_relative(const string &root_path, const string &absolute_path)
Make an absolute path relative to a root path
Convert @absolute_path into a relative one with respect to the given @root_path. If @absolute_path do not start at the given @root_path an empty string will be returned. NOTE: Trailing slash will be stripped from the new constructed relative path.