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

Method clearSpan

src/traffic_cache_tool/CacheTool.cc:89–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87
88#if 0
89void
90Volume::clearSpan(Span* span)
91{
92 auto spot = std::remove_if(_stripes.begin(), _stripes.end(), [span,this](StripeSM* stripe) { return stripe->_span == span ? ( this->_size -= stripe->_len , true ) : false; });
93 _stripes.erase(spot, _stripes.end());
94}
95#endif
96
97void

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected