blob: 93a7eef30e6102191374d3e822183b70257e2c14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*/
import { Uri, Webview } from 'vscode';
export function getUri(
webview: Webview,
extensionUri: Uri,
pathList: string[]
): Uri {
return webview.asWebviewUri(Uri.joinPath(extensionUri, ...pathList));
}
|