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

Function scan_span

src/traffic_cache_tool/CacheTool.cc:1332–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1330}
1331
1332void static scan_span(Span *span, swoc::file::path const &regex_path)
1333{
1334 for (auto strp : span->_stripes) {
1335 strp->loadMeta();
1336 strp->loadDir();
1337
1338 if (!regex_path.empty()) {
1339 CacheScan cs(strp, regex_path);
1340 cs.Scan(true);
1341 } else {
1342 CacheScan cs(strp);
1343 cs.Scan(false);
1344 }
1345 }
1346}
1347
1348void
1349Scan_Cache(swoc::file::path const &regex_path)

Callers

nothing calls this directly

Calls 4

loadMetaMethod · 0.80
loadDirMethod · 0.80
ScanMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected