MCPcopy 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
146def normalize_slashes(p):
147 if IS_WINDOWS_PLATFORM:
148 return '/'.join(split_path(p))
149 return p
150
151
152def walk(root, patterns, default=True):

Callers 2

rec_walkMethod · 0.85
matchMethod · 0.85

Calls 2

split_pathFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected