Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
480
bool AccessDir(const std::string &dir_path) {
481
return access(dir_path.c_str(), F_OK) == 0;
482
}
483
484
bool CreateDir(const std::string &dir_path) {
485
if (!AccessDir(dir_path)) {
Callers
2
Init
Method · 0.85
CreateDir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected