MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getImage

Function getImage

packages/wasm/src/registry.ts:88–92  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

86 * @param url the URL of the WebAssembly module.
87 */
88export function getImage(url: string): number {
89 return IMAGES.findIndex(image => {
90 return image.type === 'wasm' && image.code_file === url;
91 });
92}

Callers 2

patchFramesFunction · 0.90
registerModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected