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

Method list

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

Source from the content-addressed store, hash-verified

643 end
644
645 def list(path)
646 url = build_deployed_url(path)
647 with_retry(3, url) do
648 begin
649 request(:get, {}, url) do |response|
650 response.body.scan(/<a href="(.+?)"/).flatten
651 end
652 rescue Error => error
653 case error.response
654 when Net::HTTPNotFound
655 return []
656 else
657 raise
658 end
659 end
660 end
661 end
662
663 def upload(path, destination_path)
664 destination_url = build_deployed_url(destination_path)

Callers

nothing calls this directly

Calls 1

bodyMethod · 0.45

Tested by

no test coverage detected