MCPcopy Create free account
hub / github.com/KDE/kdiff3 / readFile

Method readFile

src/GitIgnoreList.cpp:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76QString GitIgnoreList::readFile(const QString& fileName) const
77{
78 QFile file(fileName);
79 if(!file.open(QIODevice::ReadOnly))
80 {
81 return QString();
82 }
83 QTextStream stream(&file);
84 return stream.readAll();
85}
86
87void GitIgnoreList::addEntries(const QString& dir, const QString& lines)
88{

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected