Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ normalize_path
Function
normalize_path
tools/empath-split.py:258–259 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
256
# 2. Normalize separators
257
# 3. Make /a/b/c and /a/b/c/ equivalent
258
def
normalize_path(path):
259
return
utils.normalize_path(path.strip()).rstrip(os.sep)
260
261
262
def
parse_paths_file(paths_file_content):
Callers
1
parse_paths_file
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected