store project settings content when opening database
This is required to tell Sourcetrail that the database content is up to date with the current project settings.
This commit is contained in:
@@ -51,6 +51,8 @@ namespace sourcetrail
|
||||
void setupDatabase();
|
||||
void clearDatabase();
|
||||
|
||||
void setProjectSettingsText(const std::string& text);
|
||||
|
||||
bool isEmpty() const;
|
||||
bool isCompatible() const;
|
||||
int getLoadedDatabaseVersion() const;
|
||||
|
||||
@@ -94,6 +94,7 @@ namespace sourcetrail
|
||||
void setupDatabaseTables();
|
||||
void clearDatabaseTables();
|
||||
void createOrResetProjectFile();
|
||||
void updateProjectSettingsText();
|
||||
int addNodeHierarchy(const NameHierarchy& nameHierarchy);
|
||||
int addFile(const std::string& filePath);
|
||||
int addEdge(int sourceId, int targetId, EdgeKind edgeKind);
|
||||
|
||||
Reference in New Issue
Block a user