Function swri_system_util::NaiveUncomplete

Function Documentation

boost::filesystem::path swri_system_util::NaiveUncomplete(const boost::filesystem::path &path, const boost::filesystem::path &base)

Generate a relative file path between two absolute paths.

Parameters:
  • path[in] The absolute path to convert to relative.

  • base[in] The base path.

Returns:

The relative path if valid and an empty path otherwise.