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

Method BuildClientRequestCache

Source/cmFileAPI.cxx:898–911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896static unsigned int const CacheV2Minor = 0;
897
898void cmFileAPI::BuildClientRequestCache(
899 ClientRequest& r, std::vector<RequestVersion> const& versions)
900{
901 // Select a known version from those requested.
902 for (RequestVersion const& v : versions) {
903 if ((v.Major == 2 && v.Minor <= CacheV2Minor)) {
904 r.Version = v.Major;
905 break;
906 }
907 }
908 if (!r.Version) {
909 r.Error = NoSupportedVersion(versions);
910 }
911}
912
913Json::Value cmFileAPI::BuildCache(Object object)
914{

Callers 1

BuildClientRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected