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

Method yum_targets

dev/tasks/linux-packages/package-task.rb:415–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 end
414
415 def yum_targets
416 return [] unless enable_yum?
417
418 targets = (ENV["YUM_TARGETS"] || "").split(",")
419 targets = yum_targets_default if targets.empty?
420
421 targets.find_all do |target|
422 Dir.exist?(File.join(yum_dir, target))
423 end
424 end
425
426 def yum_targets_default
427 # Disable aarch64 targets by default for now

Callers

nothing calls this directly

Calls 3

exist?Method · 0.80
empty?Method · 0.45
joinMethod · 0.45

Tested by

no test coverage detected