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

Method isImageFile

ChatView/ChatRootView.cpp:1268–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268bool ChatRootView::isImageFile(const QString &filePath) const
1269{
1270 static const QSet<QString> imageExtensions = {"png", "jpg", "jpeg", "gif", "webp", "bmp", "svg"};
1271
1272 QFileInfo fileInfo(filePath);
1273 return imageExtensions.contains(fileInfo.suffix().toLower());
1274}
1275
1276void ChatRootView::loadAvailableConfigurations()
1277{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected