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

Method shouldIgnoreFileForAttach

ChatView/ChatRootView.cpp:1065–1078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1063}
1064
1065bool ChatRootView::shouldIgnoreFileForAttach(const Utils::FilePath &filePath)
1066{
1067 auto project = ProjectExplorer::ProjectManager::projectForFile(filePath);
1068 if (project
1069 && m_clientInterface->contextManager()
1070 ->ignoreManager()
1071 ->shouldIgnore(filePath.toFSPathString(), project)) {
1072 LOG_MESSAGE(QString("Ignoring file for attachment due to .qodeassistignore: %1")
1073 .arg(filePath.toFSPathString()));
1074 return true;
1075 }
1076
1077 return false;
1078}
1079
1080QString ChatRootView::textFontFamily() const
1081{

Callers

nothing calls this directly

Calls 3

shouldIgnoreMethod · 0.80
ignoreManagerMethod · 0.80
contextManagerMethod · 0.45

Tested by

no test coverage detected