UNPKG

@sussudio/platform

Version:

Internal APIs for VS Code's service injection the base services.

20 lines (18 loc) 874 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { ICwdDetectionCapability, TerminalCapability } from './capabilities.mjs'; export declare class CwdDetectionCapability implements ICwdDetectionCapability { readonly type = TerminalCapability.CwdDetection; private _cwd; private _cwds; /** * Gets the list of cwds seen in this session in order of last accessed. */ get cwds(): string[]; private readonly _onDidChangeCwd; readonly onDidChangeCwd: import('@sussudio/base/common/event.mjs').Event<string>; getCwd(): string; updateCwd(cwd: string): void; }