MCPcopy Create free account
hub / github.com/covscript/covscript / can_read

Function can_read

sources/system/unix/common.cpp:191–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 bool can_read(const std::string &path)
192 {
193 return access(path.c_str(), R_OK) == 0;
194 }
195
196 bool can_write(const std::string &path)
197 {

Callers 2

covscript_mainFunction · 0.50
covscript_mainFunction · 0.50

Calls 1

accessFunction · 0.85

Tested by

no test coverage detected