MCPcopy Create free account
hub / github.com/defold/defold / CorruptDirs

Function CorruptDirs

engine/dlib/src/test/test_httpcache.cpp:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282static void CorruptDirs(void* ctx, const char* path, bool isdir)
283{
284 const char* basename = strrchr(path, '/');
285 if (isdir && basename && strlen(basename+1) == 2)
286 {
287 dmSys::IterateTree(path, false, false, ctx, CorruptFile);
288 }
289}
290
291TEST_F(dmHttpCacheTest, CorruptContent)
292{

Callers

nothing calls this directly

Calls 1

IterateTreeFunction · 0.50

Tested by

no test coverage detected