From be47260a62d005c1727baf0b981b9170a4235c40 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Tue, 25 Jan 2022 22:55:22 -0500 Subject: [PATCH] Removes unused method --- src/git/gitProviderService.ts | 6 ------ 1 file changed, 6 deletions(-) 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