mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
storage - introduce workspaceStorageHome to environment
This commit is contained in:
@@ -48,6 +48,7 @@ export interface IEnvironment {
|
||||
appSettingsHome: URI;
|
||||
extensionDevelopmentLocationURI: URI;
|
||||
extensionTestsPath: string;
|
||||
workspaceStorageHome: string;
|
||||
}
|
||||
|
||||
export interface IWorkspaceData {
|
||||
|
||||
@@ -104,7 +104,7 @@ class ExtensionStoragePath {
|
||||
}
|
||||
|
||||
const storageName = this._workspace.id;
|
||||
const storagePath = join(this._environment.appSettingsHome.fsPath, 'workspaceStorage', storageName);
|
||||
const storagePath = join(this._environment.workspaceStorageHome, storageName);
|
||||
|
||||
const exists = await dirExists(storagePath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user