MCPcopy Create free account
hub / github.com/catboost/catboost / JoinUrlParts

Function JoinUrlParts

library/cpp/neh/http_common.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void JoinUrlParts(const TConstArrayRef<TString> urlParts, IOutputStream& out) {
65 if (urlParts.empty()) {
66 return;
67 }
68
69 out << urlParts[0];
70
71 for (size_t i = 1; i < urlParts.size(); ++i) {
72 out << '&' << urlParts[i];
73 }
74 }
75
76 void WriteUrlParts(const TConstArrayRef<TString> urlParts, IOutputStream& out) {
77 WriteUrl(urlParts, out);

Callers 1

WriteImplFunction · 0.85

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected