MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / makeWebviewCommandUriString

Function makeWebviewCommandUriString

src/util.ts:647–650  ·  view source on GitHub ↗
(command: string, ...args: any[])

Source from the content-addressed store, hash-verified

645
646// eslint-disable-next-line @typescript-eslint/no-explicit-any
647export function makeWebviewCommandUriString(command: string, ...args: any[]): string {
648 const argString = encodeURIComponent(JSON.stringify(args));
649 return `command:${command}?${argString}`;
650}
651
652// Tries to read a file, returns undefined if an error occurs (e.g. the file does not exist)
653export function readFileSyncSafe(

Callers 1

pimpMyHelpFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected