MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / FileWriteable

Method FileWriteable

cpp/src/platform/unix/FileOpsImpl.cpp:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93bool FileOpsImpl::FileWriteable
94(
95 const string _filename
96)
97{
98 if (!FileExists(_filename)) {
99 string fn = ozwdirname(_filename);
100 return (access(fn.c_str(), W_OK|F_OK) == 0);
101 }
102
103 return (access(_filename.c_str(), W_OK|F_OK) == 0);
104
105}
106
107bool FileOpsImpl::FileRotate
108(

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected