UNPKG

sussudio

Version:

An unofficial VS Code Internal API

15 lines (14 loc) 920 B
/*--------------------------------------------------------------------------------------------- * 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 "../../../base/common/uri.mjs"; import { IWorkspace } from "./workspace.mjs"; export declare function isVirtualResource(resource: URI): boolean; export declare function getVirtualWorkspaceLocation(workspace: IWorkspace): { scheme: string; authority: string; } | undefined; export declare function getVirtualWorkspaceScheme(workspace: IWorkspace): string | undefined; export declare function getVirtualWorkspaceAuthority(workspace: IWorkspace): string | undefined; export declare function isVirtualWorkspace(workspace: IWorkspace): boolean;