MCPcopy Create free account
hub / github.com/apache/arrow / build_api_url

Method build_api_url

dev/release/binary-task.rb:701–711  ·  view source on GitHub ↗
(path, parameters)

Source from the content-addressed store, hash-verified

699 end
700
701 def build_api_url(path, parameters)
702 uri_string = "https://packages.apache.org/artifactory/api/#{path}"
703 unless parameters.empty?
704 uri_string << "?"
705 escaped_parameters = parameters.collect do |key, value|
706 "#{CGI.escape(key)}=#{CGI.escape(value)}"
707 end
708 uri_string << escaped_parameters.join("&")
709 end
710 URI(uri_string)
711 end
712
713 def build_deployed_url(path)
714 uri_string = "https://packages.apache.org/artifactory/arrow"

Callers

nothing calls this directly

Calls 2

empty?Method · 0.45
joinMethod · 0.45

Tested by

no test coverage detected