MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / parse_host

Function parse_host

tools/tasks.py:751–756  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

749
750
751def parse_host(host):
752 url = urllib.parse.urlsplit(host)
753 if not url.scheme:
754 url = urllib.parse.urlsplit("https://" + host)
755
756 return url.scheme, url.netloc, url.path
757
758
759def generate_upload_url(parser, options, zip_filename):

Callers 1

generate_upload_urlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected