We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454ddfd commit b51aabbCopy full SHA for b51aabb
extensions/git/src/model.ts
@@ -95,7 +95,9 @@ class ParentRepositoriesManager {
95
return [...this._repositories.values()];
96
}
97
98
- constructor(private readonly globalState: Memento) { }
+ constructor(private readonly globalState: Memento) {
99
+ this.onDidChangeRepositories();
100
+ }
101
102
addRepository(repository: string): void {
103
this._repositories.add(repository);
@@ -137,6 +139,10 @@ class UnsafeRepositoriesManager {
137
139
return [...this._repositories.keys()];
138
140
141
142
+ constructor() {
143
144
145
+
146
addRepository(repository: string, path: string): void {
147
this._repositories.set(repository, path);
148
this.onDidChangeRepositories();
0 commit comments