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

Method list

dev/release/binary-task.rb:551–569  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

549 end
550
551 def list(path)
552 url = build_deployed_url(path)
553 with_retry(3, url) do
554 begin
555 request(:get, {}, url) do |response|
556 response.body.scan(/<a href="(.+?)"/).flatten.collect do |href|
557 href.delete_prefix(url.to_s)
558 end
559 end
560 rescue Error => error
561 case error.response
562 when Net::HTTPNotFound
563 return []
564 else
565 raise
566 end
567 end
568 end
569 end
570
571 def upload(path, destination_path)
572 destination_url = build_api_url(destination_path)

Callers

nothing calls this directly

Calls 2

bodyMethod · 0.45
to_sMethod · 0.45

Tested by

no test coverage detected