MCPcopy Create free account
hub / github.com/apache/mesos / foreachpair

Function foreachpair

3rdparty/libprocess/src/http.cpp:1003–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1001 string output;
1002
1003 foreachpair (const string& key, const string& value, query) {
1004 output += http::encode(key);
1005 if (!value.empty()) {
1006 output += "=" + http::encode(value);
1007 }
1008 output += '&';
1009 }
1010 return strings::remove(output, "&", strings::SUFFIX);
1011}
1012

Callers

nothing calls this directly

Calls 2

encodeFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected