MCPcopy Create free account
hub / github.com/Vector35/debugger / is_file

Function is_file

cli/main.cpp:300–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298
299
300bool is_file(const char* fname)
301{
302 struct stat buf;
303 if (stat(fname, &buf) == 0 && (buf.st_mode & S_IFREG) == S_IFREG)
304 return true;
305
306 return false;
307}
308
309
310void PrintStopReason(DbgRef<DebuggerController> controller, DebugStopReason reason)

Callers 1

mainFunction · 0.85

Calls 1

statClass · 0.85

Tested by

no test coverage detected