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

Method hasImageAttachments

ChatView/ChatRootView.cpp:1258–1266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1256}
1257
1258bool ChatRootView::hasImageAttachments(const QStringList &attachments) const
1259{
1260 for (const QString &filePath : attachments) {
1261 if (isImageFile(filePath)) {
1262 return true;
1263 }
1264 }
1265 return false;
1266}
1267
1268bool ChatRootView::isImageFile(const QString &filePath) const
1269{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected