MCPcopy Index your code
hub / github.com/angular/angular / filePathToUri

Function filePathToUri

vscode-ng-language-service/server/src/utils.ts:38–40  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

36 * @param filePath
37 */
38export function filePathToUri(filePath: string): lsp.DocumentUri {
39 return URI.file(filePath).toString();
40}
41
42/**
43 * Converts ts.FileTextChanges to lsp.WorkspaceEdit.

Callers 12

onGetTcbFunction · 0.90
onReferencesFunction · 0.90
getDisplayPartLocationFunction · 0.90
onRenameRequestFunction · 0.90
utils_spec.tsFile · 0.90

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…