logic: don't allow partial re-indexing for python source groups

This commit is contained in:
mlangkabel
2019-04-23 16:49:11 +02:00
parent b46b9d157d
commit 42cd0f05d7
2 changed files with 6 additions and 0 deletions
@@ -13,6 +13,11 @@ SourceGroupPythonEmpty::SourceGroupPythonEmpty(std::shared_ptr<SourceGroupSettin
{
}
bool SourceGroupPythonEmpty::allowsPartialClearing() const
{
return false;
}
std::set<FilePath> SourceGroupPythonEmpty::filterToContainedFilePaths(const std::set<FilePath>& filePaths) const
{
return SourceGroup::filterToContainedFilePaths(
@@ -13,6 +13,7 @@ class SourceGroupPythonEmpty: public SourceGroup
public:
SourceGroupPythonEmpty(std::shared_ptr<SourceGroupSettingsPythonEmpty> settings);
bool allowsPartialClearing() const override;
std::set<FilePath> filterToContainedFilePaths(const std::set<FilePath>& filePaths) const override;
std::set<FilePath> getAllSourceFilePaths() const override;
std::vector<std::shared_ptr<IndexerCommand>> getIndexerCommands(const std::set<FilePath>& filesToIndex) const override;