Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/docker-py
/ split_path
Function
split_path
docker/utils/build.py:142–143 ·
view source on GitHub ↗
(p)
Source
from the content-addressed store, hash-verified
140
141
142
def
split_path(p):
143
return
[pt
for
pt in re.split(_SEP, p)
if
pt and pt !=
'.'
]
144
145
146
def
normalize_slashes(p):
Callers
3
normalize_slashes
Function · 0.85
matches
Method · 0.85
normalize
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected