MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_sourceMappingURL

Method get_sourceMappingURL

tools/webassembly.py:632–638  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630
631 @memoize
632 def get_sourceMappingURL(self):
633 section = self.get_custom_section('sourceMappingURL')
634 if not section:
635 return ''
636 self.seek(section.offset)
637 self.read_string() # 'sourceMappingURL'
638 return self.read_string()
639
640
641def parse_dylink_section(wasm_file):

Callers 3

check_errorsFunction · 0.80
get_sourceMappingURLFunction · 0.80

Calls 3

get_custom_sectionMethod · 0.95
seekMethod · 0.95
read_stringMethod · 0.95

Tested by

no test coverage detected