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

Method write_uploaded_files

dev/release/binary-task.rb:1385–1395  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

1383 end
1384
1385 def write_uploaded_files(dir)
1386 dir = Pathname(dir)
1387 uploaded_files = []
1388 dir.glob("**/*") do |path|
1389 next if path.directory?
1390 uploaded_files << path.relative_path_from(dir).to_s
1391 end
1392 File.open("#{dir}/#{uploaded_files_name}", "w") do |output|
1393 output.puts(uploaded_files.sort)
1394 end
1395 end
1396
1397 def tmp_dir
1398 "/tmp"

Callers

nothing calls this directly

Calls 3

directory?Method · 0.80
to_sMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected