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

Method sign

dev/release/binary-task.rb:1218–1231  ·  view source on GitHub ↗
(source_path, destination_path)

Source from the content-addressed store, hash-verified

1216 end
1217
1218 def sign(source_path, destination_path)
1219 if File.exist?(destination_path)
1220 return if valid_sign?(source_path, destination_path)
1221 rm(destination_path, verbose: false)
1222 end
1223 sh("gpg",
1224 "--armor",
1225 "--detach-sign",
1226 "--local-user", gpg_key_id,
1227 "--output", destination_path,
1228 source_path,
1229 out: default_output,
1230 verbose: verbose?)
1231 end
1232
1233 def sha512(source_path, destination_path)
1234 if File.exist?(destination_path)

Callers 2

HalfFloatTestClass · 0.80

Calls 1

exist?Method · 0.80

Tested by 1