MCPcopy Create free account
hub / github.com/Tencent/phxqueue / AccessDir

Function AccessDir

phxqueue/comm/utils/file_util.cpp:480–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480bool AccessDir(const std::string &dir_path) {
481 return access(dir_path.c_str(), F_OK) == 0;
482}
483
484bool CreateDir(const std::string &dir_path) {
485 if (!AccessDir(dir_path)) {

Callers 2

InitMethod · 0.85
CreateDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected