MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / dirent

Class dirent

tests/document_test.cpp:350–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 EXPECT_TRUE(dir != nullptr) << "Error open directory: " + dirname;
349 if (nullptr == dir) return jsons;
350 struct dirent* ent = nullptr;
351 while (nullptr != (ent = readdir(dir))) {
352 struct stat st;
353 std::string filename = dirname + ent->d_name;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected