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

Method installation_dir

emsdk.py:1902–1907  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1900
1901 # Specifies the target directory this tool will be installed to.
1902 def installation_dir(self):
1903 dir = self.installation_path()
1904 if path_points_to_directory(dir):
1905 return dir
1906 else:
1907 return os.path.dirname(dir)
1908
1909 # Returns the configuration item that needs to be added to .emscripten to make
1910 # this Tool active for the current user.

Callers 2

expand_varsMethod · 0.95
is_firefox_installedFunction · 0.80

Calls 2

installation_pathMethod · 0.95
path_points_to_directoryFunction · 0.85

Tested by

no test coverage detected