From 6300891c196cc8247cdbcecd73e7e38a32935e61 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 28 Jan 2022 16:44:25 -0500 Subject: [PATCH] Adds comment for future vsls + virtual support --- src/env/node/git/vslsGitProvider.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/env/node/git/vslsGitProvider.ts b/src/env/node/git/vslsGitProvider.ts index c65aa6f..38c2e11 100644 --- a/src/env/node/git/vslsGitProvider.ts +++ b/src/env/node/git/vslsGitProvider.ts @@ -56,6 +56,11 @@ export class VslsGitProvider extends LocalGitProvider { } } + override canHandlePathOrUri(scheme: string, pathOrUri: string | Uri): string | undefined { + // TODO@eamodio To support virtual repositories, we need to verify that the path is local here (by converting the shared path to a local path) + return super.canHandlePathOrUri(scheme, pathOrUri); + } + override getAbsoluteUri(pathOrUri: string | Uri, base: string | Uri): Uri { pathOrUri = addVslsPrefixIfNeeded(pathOrUri);