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

Method empty

plugins/cachekey/pattern.cc:130–134  ·  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

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

Callers 15

write_content_nodeMethod · 0.45
initMethod · 0.45
TSPluginInitFunction · 0.45
post_processFunction · 0.45
initializeMethod · 0.45
TSRemapNewInstanceFunction · 0.45
makeConfigPathFunction · 0.45
loadRegionMapFunction · 0.45

Calls

no outgoing calls

Tested by 2

runMethod · 0.36
runMethod · 0.36