MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / ensureDirectoryExists

Method ensureDirectoryExists

ChatView/ChatSerializer.cpp:230–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected