Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fields2Cover/Fields2Cover
/ stat
Class
stat
tests/cpp/utils/visualizer_test.cpp:17–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
16
bool checkIfFileExists(const std::string& file, double max_time_waiting = 10.0) {
17
struct stat buffer;
18
const clock_t begin_time = std::clock();
19
double t {0.0};
20
while (t < max_time_waiting) {
Callers
1
checkIfFileExists
Function · 0.85
Calls
no outgoing calls
Tested by
1
checkIfFileExists
Function · 0.68