File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
extensions/ql-vscode/src/databases/config Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,10 @@ export class DbConfigStore extends DisposableObject {
145145 await this . writeConfig ( config ) ;
146146 }
147147
148+ /**
149+ * Adds a list of remote repositories to an existing repository list and removes duplicates.
150+ * @returns a list of repositories that were not added because the list reached 1000 entries.
151+ */
148152 public async addRemoteReposToList (
149153 repoNwoList : string [ ] ,
150154 parentList : string ,
@@ -173,6 +177,10 @@ export class DbConfigStore extends DisposableObject {
173177 return truncatedRepositories ;
174178 }
175179
180+ /**
181+ * Adds one remote repository
182+ * @returns either nothing, or, if a parentList is given AND the number of repos on that list reaches 1000 returns the repo that was not added.
183+ */
176184 public async addRemoteRepo (
177185 repoNwo : string ,
178186 parentList ?: string ,
You can’t perform that action at this time.
0 commit comments