Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/docker-py
/ normalize_slashes
Function
normalize_slashes
docker/utils/build.py:146–149 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
144
145
146
def
normalize_slashes(p):
147
if
IS_WINDOWS_PLATFORM:
148
return
'/'
.join(split_path(p))
149
return
p
150
151
152
def
walk(root, patterns, default=True):
Callers
2
rec_walk
Method · 0.85
match
Method · 0.85
Calls
2
split_path
Function · 0.85
join
Method · 0.80
Tested by
no test coverage detected