Object
# File lib/harbor/checksum/quick_zip_crc.rb, line 3 3: def compute(path) 4: if hex = `crc32 #{Shellwords.escape(path)}`.scan(/(?!0x)[0-9A-Z]{8}/)[0] 5: hex.downcase 6: else 7: nil 8: end 9: end