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

Method substitute_content

dev/tasks/linux-packages/package-task.rb:104–108  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

102 end
103
104 def substitute_content(content)
105 content.gsub(/@(.+?)@/) do |matched|
106 yield($1, matched)
107 end
108 end
109
110 def docker_image(os, architecture)
111 image = "#{@package}-#{os}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected