logic: add contained symlinked directories to indexed and excluded paths

This commit is contained in:
Eberhard Graether
2017-11-07 13:43:50 +01:00
parent 28fe1533b7
commit a2d412ccfa
8 changed files with 110 additions and 54 deletions
+5
View File
@@ -33,12 +33,17 @@ public:
std::set<FilePath>* filesToIndex, bool fullRefresh) = 0;
protected:
std::set<FilePath> getIndexedPaths();
std::set<FilePath> getExcludedPaths();
std::set<FilePath> m_allSourceFilePaths;
std::set<FilePath> m_sourceFilePathsToIndex;
private:
virtual std::shared_ptr<SourceGroupSettings> getSourceGroupSettings() = 0;
virtual std::vector<FilePath> getAllSourcePaths() const = 0;
std::set<FilePath> findAndAddSymlinkedDirectories(const std::vector<FilePath>& paths);
};
#endif // SOURCE_GROUP_H