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

Function to_native_path

emsdk.py:1570–1574  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

1568
1569
1570def to_native_path(p):
1571 if (WINDOWS and not MSYS) and not os_override:
1572 return to_unix_path(p).replace('/', '\\')
1573 else:
1574 return to_unix_path(p)
1575
1576
1577# Finds and returns a list of the directories that need to be added to PATH for

Callers 3

get_required_pathFunction · 0.85
install_toolMethod · 0.85
get_env_vars_to_addFunction · 0.85

Calls 1

to_unix_pathFunction · 0.85

Tested by

no test coverage detected