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

Method DeletePlugin

src/cripts/Instance.cc:79–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool
80Instance::DeletePlugin(const cripts::string &tag)
81{
82 auto p = plugins.find(tag);
83
84 if (p != plugins.end()) {
85 plugins.erase(p);
86
87 return true;
88 } else {
89 return false;
90 }
91}
92
93void
94Instance::AddBundle(cripts::Bundle::Base *bundle)

Callers

nothing calls this directly

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected