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

Function can_write

sources/system/unix/common.cpp:196–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 }
195
196 bool can_write(const std::string &path)
197 {
198 return access(path.c_str(), W_OK) == 0;
199 }
200
201 bool can_execute(const std::string &path)
202 {

Callers

nothing calls this directly

Calls 1

accessFunction · 0.85

Tested by

no test coverage detected