MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / createNew

Method createNew

source/util/bfile.cpp:186–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186bool BWriteFile::createNew(const char* pPath) {
187 if (isOpen()) {
188 return false;
189 }
190 file = std::fopen(pPath, "wb");
191 return file != nullptr;
192}
193
194bool BWriteFile::createNew(BString path) {
195 return createNew(path.c_str());

Callers 6

logBlockFunction · 0.80
FINITMethod · 0.80
applyMethod · 0.80
parseStartupArgsMethod · 0.80
startMethod · 0.80
writeLinesToFileFunction · 0.80

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected