Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
QByteArray readFile(const QString& name)
34
{
35
QFile f(name);
36
if (!f.open(QFile::ReadOnly))
37
return {};
38
return f.readAll();
39
}
40
41
bool removeFile(const QString& name)
42
{
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected