| 228 | } |
| 229 | |
| 230 | bool ChatSerializer::ensureDirectoryExists(const QString &filePath) |
| 231 | { |
| 232 | QFileInfo fileInfo(filePath); |
| 233 | QDir dir = fileInfo.dir(); |
| 234 | return dir.exists() || dir.mkpath("."); |
| 235 | } |
| 236 | |
| 237 | bool ChatSerializer::validateVersion(const QString &version) |
| 238 | { |
nothing calls this directly
no outgoing calls
no test coverage detected