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

Method load

plugins/experimental/txn_box/plugin/src/query.cc:433–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433Rv<Modifier::Handle>
434Mod_query_sort::load(Config &, YAML::Node, TextView, TextView arg, YAML::Node)
435{
436 bool case_p = true;
437 bool rev_p = false;
438 while (arg) {
439 auto token = arg.take_prefix_at(',');
440 if (token == ARG_NOCASE) {
441 case_p = false;
442 } else if (token == ARG_REVERSE) {
443 rev_p = true;
444 } else {
445 return Errata(S_ERROR, R"(Invalid argument "{}" in modifier "{}")", token, KEY);
446 }
447 }
448 return Handle{new self_type(case_p, rev_p)};
449}
450
451// ---
452

Callers

nothing calls this directly

Calls 13

ErrataClass · 0.85
take_prefix_atMethod · 0.80
reserve_ctx_storageMethod · 0.80
parse_exprMethod · 0.80
is_nullMethod · 0.80
can_satisfyMethod · 0.80
loadFunction · 0.50
is_okMethod · 0.45
noteMethod · 0.45
MarkMethod · 0.45
result_typeMethod · 0.45
has_valueMethod · 0.45

Tested by

no test coverage detected