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

Function verifiedWrite

plugins/subversion/tests/test_svnrecursiveadd.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void verifiedWrite(QUrl const & url, QString const & contents)
74{
75 QFile f(url.path());
76 QVERIFY(f.open(QIODevice::WriteOnly));
77 QTextStream filecontents(&f);
78 filecontents << contents;
79 filecontents.flush();
80 f.flush();
81}
82
83
84void fillWorkingDirectory(QString const & dirname)

Callers 1

fillWorkingDirectoryFunction · 0.85

Calls 2

pathMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected