MCPcopy
hub / github.com/docker/docker-py / convert_to_hostname

Function convert_to_hostname

docker/auth.py:315–316  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

313
314
315def convert_to_hostname(url):
316 return url.replace('http://', '').replace('https://', '').split('/', 1)[0]
317
318
319def decode_auth(auth):

Callers 2

resolve_index_nameFunction · 0.85
get_all_credentialsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected