MCPcopy Create free account
hub / github.com/OneMoreGres/ScreenTranslator / readFile

Function readFile

tests/updates_test.cpp:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33QByteArray readFile(const QString& name)
34{
35 QFile f(name);
36 if (!f.open(QFile::ReadOnly))
37 return {};
38 return f.readAll();
39}
40
41bool removeFile(const QString& name)
42{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected