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

Method pull

dev/release/binary-task.rb:743–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741 end
742
743 def pull
744 client = @mutex.synchronize do
745 if @clients.empty?
746 create_client
747 else
748 @clients.pop
749 end
750 end
751 begin
752 yield(client)
753 ensure
754 release(client)
755 end
756 end
757
758 def release(client)
759 @mutex.synchronize do

Callers 4

downloadMethod · 0.45
uploadMethod · 0.45
releaseMethod · 0.45
copy-binary.rbFile · 0.45

Calls 2

releaseFunction · 0.50
empty?Method · 0.45

Tested by

no test coverage detected