MCPcopy Create free account
hub / github.com/apache/trafficserver / GetSV

Method GetSV

src/cripts/Lulu.cc:178–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178cripts::string_view
179cripts::Versions::GetSV()
180{
181 if (_version.length() == 0) {
182 const char *ver = TSTrafficServerVersionGet();
183
184 _version = cripts::string_view(ver, strlen(ver)); // ToDo: Annoyingly, we have ambiquity on the operator=
185 }
186
187 return _version;
188}
189
190// Globals
191cripts::Proxy proxy;

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.45

Tested by

no test coverage detected