MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / renderProtoAsConfig

Function renderProtoAsConfig

lib/config/proto.cc:590–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

588}
589
590std::string renderProtoAsConfig(const google::protobuf::Message* message)
591{
592 auto allFields = findAllProtoFields(message);
593 std::stringstream ss;
594 for (const auto& field : allFields)
595 ss << field.path() << "=" << field.get() << "\n";
596 return ss.str();
597}

Callers 2

readImageMethod · 0.85
test_renderingFunction · 0.85

Calls 2

findAllProtoFieldsFunction · 0.85
getMethod · 0.45

Tested by 1

test_renderingFunction · 0.68