MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / uriToString

Function uriToString

src/shared/vscode/utils.ts:324–328  ·  view source on GitHub ↗
(uri: vs.Uri)

Source from the content-addressed store, hash-verified

322}
323
324function uriToString(uri: vs.Uri) {
325 return uri.toString()
326 .replace(/%24/g, "$")
327 .replace(/%5B/g, "[");
328}
329
330export function treeLabel(item: vs.TreeItem): string | undefined {
331 if (!item.label || typeof item.label === "string")

Callers 1

exposeUrlMethod · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected