Files
code-server/lib/vscode/src/vs/platform/remote/common/remoteAgentEnvironment.ts
2021-04-30 20:25:17 +05:30

30 lines
951 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { URI } from 'vs/base/common/uri';
import { OperatingSystem } from 'vs/base/common/platform';
import * as performance from 'vs/base/common/performance';
export interface IRemoteAgentEnvironment {
pid: number;
connectionToken: string;
appRoot: URI;
settingsPath: URI;
logsPath: URI;
extensionsPath: URI;
extensionHostLogsPath: URI;
globalStorageHome: URI;
workspaceStorageHome: URI;
userHome: URI;
os: OperatingSystem;
marks: performance.PerformanceMark[];
useHostProxy: boolean;
}
export interface RemoteAgentConnectionContext {
remoteAuthority: string;
clientId: string;
}