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

Function parse_csv_non_empty

lib/swoc/unit_tests/ex_TextView.cc:41–47  ·  view source on GitHub ↗

-- doc csv non-empty start

Source from the content-addressed store, hash-verified

39
40// -- doc csv non-empty start
41void
42parse_csv_non_empty(TextView src, std::function<void(TextView)> const &f) {
43 TextView token;
44 while ((token = src.take_prefix_at(',').trim_if(&isspace))) {
45 f(token);
46 }
47}
48// -- doc csv non-empty end
49
50// -- doc kv start

Callers 1

ex_TextView.ccFile · 0.85

Calls 2

fFunction · 0.85
take_prefix_atMethod · 0.80

Tested by

no test coverage detected