MCPcopy Index your code
hub / github.com/emscripten-core/emsdk / get_installed_sdk_version

Function get_installed_sdk_version

emsdk.py:2433–2439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2431
2432
2433def get_installed_sdk_version():
2434 version_file = sdk_path(os.path.join('upstream', '.emsdk_version'))
2435 if not os.path.exists(version_file):
2436 return None
2437 with open(version_file) as f:
2438 version = f.read()
2439 return version.split('-')[1]
2440
2441
2442# Get a list of tags for emscripten-releases.

Callers 2

load_releases_tagsFunction · 0.85
expand_sdk_nameFunction · 0.85

Calls 1

sdk_pathFunction · 0.85

Tested by

no test coverage detected