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

Method is_installed_version

emsdk.py:1968–1973  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1966 return os.path.join(self.installation_path(), '.emsdk_version')
1967
1968 def is_installed_version(self):
1969 version_file_path = self.get_version_file_path()
1970 if os.path.isfile(version_file_path):
1971 with open(version_file_path) as version_file:
1972 return version_file.read().strip() == self.name
1973 return False
1974
1975 def update_installed_version(self):
1976 with open(self.get_version_file_path(), 'w') as version_file:

Callers 1

is_installedMethod · 0.95

Calls 1

get_version_file_pathMethod · 0.95

Tested by

no test coverage detected