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

Function chmod_impl

sources/system/unix/common.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57namespace cs_system_impl {
58 bool chmod_impl(const std::string &path, unsigned int mode)
59 {
60 return ::chmod(path.c_str(), mode) == 0;
61 }
62
63 bool mkdir_impl(const std::string &path, unsigned int mode)
64 {

Callers 2

chmod_rFunction · 0.50
chmodFunction · 0.50

Calls 1

chmodFunction · 0.85

Tested by

no test coverage detected