MCPcopy Index your code
hub / github.com/aws/aws-cli / extract_url

Method extract_url

awscli/customizations/codecommit.py:138–142  ·  view source on GitHub ↗
(self, parameters)

Source from the content-addressed store, hash-verified

136 return parsed
137
138 def extract_url(self, parameters):
139 url = '{0}://{1}/{2}'.format(
140 parameters['protocol'], parameters['host'], parameters['path']
141 )
142 return url
143
144 def extract_region(self, parameters, parsed_globals):
145 match = re.match(

Callers 1

_run_mainMethod · 0.95

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected