logic: refresh info generator fixes and tests
* fixed case where "to-index" state of a file has changed and thus the file needs to be re-indexed * clear and re-index files that depend on changed non-indexed files * clear and re-index files referenced by unchanged but cleared (due to referencing a changed file) files * fixed: updated files with changed timestamp that do not have content in the db will now count as changed * refined refresh info generator tests * updated checklists for manual project setup tests
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
void clearAllErrors();
|
||||
void clearFileElements(const std::vector<FilePath>& filePaths, std::function<void(int)> updateStatusCallback);
|
||||
|
||||
std::vector<FileInfo> getFileInfoForAllIndexedFiles() const;
|
||||
std::vector<FileInfo> getFileInfoForAllFiles() const;
|
||||
std::set<FilePath> getIncompleteFiles() const;
|
||||
bool getFilePathIndexed(const FilePath& path) const;
|
||||
|
||||
@@ -119,6 +119,7 @@ public:
|
||||
std::shared_ptr<SourceLocationFile> getCommentLocationsInFile(const FilePath& filePath) const override;
|
||||
|
||||
std::shared_ptr<TextAccess> getFileContent(const FilePath& filePath) const override;
|
||||
bool hasContentForFile(const FilePath& filePath) const;
|
||||
|
||||
FileInfo getFileInfoForFileId(Id id) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user