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

Function ltrim

plugins/cachekey/cachekey.cc:123–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static void
124ltrim(String &target)
125{
126 String::size_type p(target.find_first_not_of(' '));
127
128 if (p != target.npos) {
129 target.erase(0, p);
130 }
131}
132
133static TSMLoc
134nextDuplicate(TSMBuffer buffer, TSMLoc hdr, TSMLoc field)

Callers 1

appendCookiesMethod · 0.70

Calls 1

eraseMethod · 0.45

Tested by

no test coverage detected