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

Function can_execute

sources/system/unix/common.cpp:201–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 bool can_execute(const std::string &path)
202 {
203 return access(path.c_str(), X_OK) == 0;
204 }
205 } // namespace file_system
206} // namespace cs_impl
207

Callers

nothing calls this directly

Calls 1

accessFunction · 0.85

Tested by

no test coverage detected