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

Method FolderCreate

cpp/src/platform/winRT/FileOpsImpl.cpp:174–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174bool FileOpsImpl::FolderCreate
175(
176 const string _dirname
177 )
178{
179 if (FolderExists(_dirname)) {
180 Log::Write(LogLevel_Warning, "Folder %s Exists for FolderCreate", _dirname.c_str());
181 return false;
182 }
183 if (CreateDirectoryA(_dirname.c_str(), NULL) == 0) {
184 Log::Write(LogLevel_Warning, "Create Directory Failed: %s", _dirname.c_str());
185 return false;
186 }
187 return true;
188}

Callers

nothing calls this directly

Calls 2

WriteFunction · 0.85
c_strMethod · 0.45

Tested by

no test coverage detected