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

Method _get

src/cripts/UUID.cc:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23{
24
25cripts::string
26UUID::Unique::_get(cripts::Context *context)
27{
28 cripts::string ret;
29 char uuid[TS_CRUUID_STRING_LEN + 1];
30
31 if (TS_SUCCESS == TSClientRequestUuidGet(context->state.txnp, uuid)) {
32 ret = uuid;
33 }
34 return ret; // RVO
35}
36
37cripts::string
38UUID::Request::_get(cripts::Context *context)

Callers

nothing calls this directly

Calls 3

TSClientRequestUuidGetFunction · 0.85
TSHttpTxnIdGetFunction · 0.85
to_stringFunction · 0.50

Tested by

no test coverage detected