diff --git a/src/git/gitProviderService.ts b/src/git/gitProviderService.ts index ff5b351..1f1c99c 100644 --- a/src/git/gitProviderService.ts +++ b/src/git/gitProviderService.ts @@ -273,12 +273,6 @@ export class GitProviderService implements Disposable { // return this.container.config.advanced.caching.enabled; // } - getCachedRepository(repoPath: string): Repository | undefined { - return repoPath && this._repositories.count !== 0 - ? this._repositories.getClosest(Uri.file(repoPath)) - : undefined; - } - /** * Registers a {@link GitProvider} * @param id A unique indentifier for the provider