| 1330 | } |
| 1331 | |
| 1332 | void static scan_span(Span *span, swoc::file::path const ®ex_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 | |
| 1348 | void |
| 1349 | Scan_Cache(swoc::file::path const ®ex_path) |