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

Method BuildClientReplyResponses

Source/cmFileAPI.cxx:712–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712Json::Value cmFileAPI::BuildClientReplyResponses(
713 ClientRequests const& requests)
714{
715 Json::Value responses;
716
717 if (!requests.Error.empty()) {
718 responses = this->BuildReplyError(requests.Error);
719 return responses;
720 }
721
722 responses = Json::arrayValue;
723 for (ClientRequest const& request : requests) {
724 responses.append(this->BuildClientReplyResponse(request));
725 }
726
727 return responses;
728}
729
730Json::Value cmFileAPI::BuildClientReplyResponse(ClientRequest const& request)
731{

Callers 1

BuildClientReplyMethod · 0.95

Calls 4

BuildReplyErrorMethod · 0.95
appendMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected