MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / openSourceCode

Function openSourceCode

packages/debugger/src/locator/locator.ts:85–88  ·  view source on GitHub ↗
(target: TargetIDE | TargetURLFunction, data: SourceCodeData)

Source from the content-addressed store, hash-verified

83}
84
85export function openSourceCode(target: TargetIDE | TargetURLFunction, data: SourceCodeData): void {
86 const url = getTargetURL(target, data)
87 if (typeof url === 'string') window.open(url, '_blank')
88}

Callers

nothing calls this directly

Calls 1

getTargetURLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…