| 134 | } |
| 135 | |
| 136 | QString RulesLoader::loadRuleFileContent(const QString &filePath) |
| 137 | { |
| 138 | QFile file(filePath); |
| 139 | if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) { |
| 140 | return QString(); |
| 141 | } |
| 142 | |
| 143 | return file.readAll(); |
| 144 | } |
| 145 | |
| 146 | QVector<RuleFileInfo> RulesLoader::collectMarkdownFiles( |
| 147 | const QString &dirPath, const QString &category) |
nothing calls this directly
no outgoing calls
no test coverage detected