MCPcopy 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
142def split_path(p):
143 return [pt for pt in re.split(_SEP, p) if pt and pt != '.']
144
145
146def normalize_slashes(p):

Callers 3

normalize_slashesFunction · 0.85
matchesMethod · 0.85
normalizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected