MCPcopy
hub / github.com/mozilla/source-map / sourceContentFor

Method sourceContentFor

source-map.d.ts:186–186  ·  view source on GitHub ↗

* Returns the original source content. The only argument is the url of the * original source file. Returns null if no original source content is * available.

(
    source: string,
    returnNullOnMissing?: boolean
  )

Source from the content-addressed store, hash-verified

184 * available.
185 */
186 sourceContentFor(
187 source: string,
188 returnNullOnMissing?: boolean
189 ): string | null;

Callers 6

sourceContentForMethod · 0.65
fromSourceMapMethod · 0.65
applySourceMapMethod · 0.65
consumerHasSourceFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected