MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / checkAccess

Function checkAccess

src/jrd/replication/Config.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 bool checkAccess(CheckStatusWrapper* status, const PathName& path, const string& key)
97 {
98 if (path.hasData() && !PathUtils::canAccess(path, 6))
99 {
100 configError(status, "missing or inaccessible directory", key, path.c_str());
101 return false;
102 }
103 return true;
104 }
105
106 void composeError(CheckStatusWrapper* status, const Exception& ex)
107 {

Callers 2

getMethod · 0.85
enumerateMethod · 0.85

Calls 3

configErrorFunction · 0.85
hasDataMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected