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

Method ResolveRootRelative

Source/cmPathResolver.cxx:197–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197Control ImplBase::ResolveRootRelative()
198{
199 // This is a root-relative path. Resolve the root drive and restart.
200 P.replace(0, 2, this->GetWorkingDirectoryOnDrive(P[0]));
201 return Control::Restart();
202}
203#endif
204
205cm::optional<std::string> ImplBase::ReadSymlink(std::string const& path,

Callers 1

ResolveRootMethod · 0.80

Calls 1

Tested by

no test coverage detected