@@ -107,7 +107,6 @@ function resolveBranchWithGitAsync(repoDir: string): Promise<string | null> {
|
107 | 107 | * Token stats, model info available via ctx.sessionManager and ctx.model. |
108 | 108 | */ |
109 | 109 | class FooterDataProvider { |
110 | | -private cwd: string; |
111 | 110 | private static readonly WATCH_DEBOUNCE_MS = 500; |
112 | 111 | |
113 | 112 | private extensionStatuses = new Map<string, string>(); |
@@ -126,7 +125,6 @@ class FooterDataProvider {
|
126 | 125 | private disposed = false; |
127 | 126 | |
128 | 127 | constructor(cwd: string) { |
129 | | -this.cwd = cwd; |
130 | 128 | this.gitPaths = findGitPaths(cwd); |
131 | 129 | this.setupGitWatcher(); |
132 | 130 | } |
@@ -159,11 +157,6 @@ class FooterDataProvider {
|
159 | 157 | } |
160 | 158 | } |
161 | 159 | |
162 | | -/** Internal: clear extension statuses */ |
163 | | -clearExtensionStatuses(): void { |
164 | | -this.extensionStatuses.clear(); |
165 | | -} |
166 | | - |
167 | 160 | /** Number of unique providers with available models (for footer display) */ |
168 | 161 | getAvailableProviderCount(): number { |
169 | 162 | return this.availableProviderCount; |
@@ -174,23 +167,6 @@ class FooterDataProvider {
|
174 | 167 | this.availableProviderCount = count; |
175 | 168 | } |
176 | 169 | |
177 | | -setCwd(cwd: string): void { |
178 | | -if (this.cwd === cwd) { |
179 | | -return; |
180 | | -} |
181 | | - |
182 | | -this.cwd = cwd; |
183 | | -if (this.refreshTimer) { |
184 | | -clearTimeout(this.refreshTimer); |
185 | | -this.refreshTimer = null; |
186 | | -} |
187 | | -this.clearGitWatchers(); |
188 | | -this.cachedBranch = undefined; |
189 | | -this.gitPaths = findGitPaths(cwd); |
190 | | -this.setupGitWatcher(); |
191 | | -this.notifyBranchChange(); |
192 | | -} |
193 | | - |
194 | 170 | /** Internal: cleanup */ |
195 | 171 | dispose(): void { |
196 | 172 | this.disposed = true; |
|