MCPcopy Create free account
hub / github.com/KDE/kdevelop / createFile

Function createFile

kdevplatform/tests/projectsgenerator.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void createFile( QFile& file )
42{
43 file.remove();
44 if ( !file.open( QIODevice::ReadWrite ) ) {
45 qFatal("Cannot create the file %s", file.fileName().toUtf8().constData());
46 }
47}
48}
49
50namespace KDevelop {

Calls 3

removeMethod · 0.45
openMethod · 0.45
fileNameMethod · 0.45

Tested by

no test coverage detected