MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / stat

Class stat

tools/benchmark/benchmark_parser.cpp:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 throw common::Exception("Test file not exists! [" + path + "].");
24 }
25 struct stat status {};
26 stat(path.c_str(), &status);
27 if (status.st_mode & S_IFDIR) {
28 throw common::Exception("Test file is a directory. [" + path + "].");

Callers 1

parseBenchmarkFileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected