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

Method apt_targets

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

Source from the content-addressed store, hash-verified

269 end
270
271 def apt_targets
272 return [] unless enable_apt?
273
274 targets = (ENV["APT_TARGETS"] || "").split(",")
275 targets = apt_targets_default if targets.empty?
276
277 targets.find_all do |target|
278 Dir.exist?(File.join(apt_dir, target))
279 end
280 end
281
282 def apt_targets_default
283 # Disable arm64 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