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

Method empty

plugins/prefetch/pattern.cc:129–133  ·  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

127 * @return true if initialized, false if not.
128 */
129bool
130Pattern::empty() const
131{
132 return _pattern.empty() || nullptr == _re;
133}
134
135/**
136 * @brief Frees PCRE library related resources.

Callers 8

contHandleFetchFunction · 0.45
TSRemapDoRemapFunction · 0.45
initializeLogFunction · 0.45
initMethod · 0.45
evaluateFunction · 0.45
replaceStringFunction · 0.45
processMethod · 0.45
compileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected