Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneMoreGres/ScreenTranslator
/ writeFile
Function
writeFile
tests/updates_test.cpp:24–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
}
23
24
bool writeFile(const QString& name, const QByteArray& data)
25
{
26
QFile f(name);
27
if (!f.open(QFile::WriteOnly))
28
return false;
29
f.write(data);
30
return true;
31
}
32
33
QByteArray readFile(const QString& name)
34
{
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected