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

Method empty

plugins/experimental/access_control/pattern.cc:139–143  ·  view source on GitHub ↗

* @brief Checks if the pattern object was initialized with a meaningful regex pattern. * @return true if initialized, false if not. */

Source from the content-addressed store, hash-verified

137 * @return true if initialized, false if not.
138 */
139bool
140Pattern::empty() const
141{
142 return _pattern.empty() || nullptr == _re;
143}
144
145/**
146 * @brief Frees PCRE library related resources.

Callers 15

TSPluginInitFunction · 0.45
nextObjectHeaderMethod · 0.45
loadAllowListMethod · 0.45
getDataMethod · 0.45
_evalSimpleExprMethod · 0.45
evaluateMethod · 0.45
readyShutdownMethod · 0.45
readyDeleteMethod · 0.45
schedule_handlerFunction · 0.45
read_configurationFunction · 0.45
onLocalReplyMethod · 0.45
get_header_map_pairsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected