MCPcopy Create free account
hub / github.com/Kitware/CMake / GetRealPath

Method GetRealPath

Source/kwsys/SystemTools.cxx:3022–3028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3020}
3021
3022std::string SystemTools::GetRealPath(std::string const& path,
3023 std::string* errorMessage)
3024{
3025 std::string ret;
3026 Realpath(path, ret, errorMessage);
3027 return ret;
3028}
3029
3030// Remove any trailing slash from the name except in a root component.
3031static char const* RemoveTrailingSlashes(

Callers

nothing calls this directly

Calls 1

RealpathFunction · 0.85

Tested by

no test coverage detected