MCPcopy Create free account
hub / github.com/COVESA/vsomeip / is_folder

Method is_folder

implementation/utility/src/utility.cpp:264–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264bool utility::is_folder(const std::string& _path) {
265 struct stat its_stat;
266 if (stat(_path.c_str(), &its_stat) == 0) {
267 if (its_stat.st_mode & S_IFDIR)
268 return true;
269 }
270 return false;
271}
272
273std::string utility::get_base_path(const std::string& _network) {
274 return base_path() + _network + "-";

Callers 1

TESTFunction · 0.80

Calls 1

statClass · 0.85

Tested by

no test coverage detected