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

Function dir_check

src/traffic_cache_tool/CacheTool.cc:1212–1223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212void
1213dir_check()
1214{
1215 Cache cache;
1216 if ((err = cache.loadSpan(SpanFile))) {
1217 cache.dumpSpans(Cache::SpanDumpDepth::SPAN);
1218 for (auto &stripe : cache.globalVec_stripe) {
1219 stripe->dir_check();
1220 }
1221 }
1222 printf("\nCHECK succeeded\n");
1223}
1224
1225void
1226walk_bucket_chain(const std::string &devicePath)

Callers

nothing calls this directly

Calls 3

loadSpanMethod · 0.80
dumpSpansMethod · 0.80
dir_checkMethod · 0.45

Tested by

no test coverage detected