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

Method GetCompatVersion

Source/cmPackageInfoReader.cxx:562–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562cm::optional<std::string> cmPackageInfoReader::GetCompatVersion() const
563{
564 Json::Value const& version = this->Data["compat_version"];
565 if (version.isString()) {
566 return version.asString();
567 }
568 return cm::nullopt;
569}
570
571cm::optional<cmPackageInfoReader::Pep440Version>
572cmPackageInfoReader::ParseVersion(

Callers 1

CheckVersionMethod · 0.80

Calls 2

isStringMethod · 0.80
asStringMethod · 0.80

Tested by

no test coverage detected