MCPcopy Create free account
hub / github.com/beefytech/Beef / GetStat

Function GetStat

BeefySysLib/platform/posix/PosixCommon.cpp:2435–2446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2433}
2434
2435static void GetStat(BfpFindFileData* findData)
2436{
2437 if (findData->mHasStat)
2438 return;
2439
2440 Beefy::String filePath = findData->mDirPath + "/" + findData->mDirEnt->d_name;
2441
2442 findData->mStat = { 0 };
2443 int result = stat(filePath.c_str(), &findData->mStat);
2444
2445 findData->mHasStat = true;
2446}
2447
2448static bool BfpFindFileData_CheckFilter(BfpFindFileData* findData)
2449{

Calls 2

statClass · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected