Sha256: 63bfc422d7b9b2204632b8a8badbc652898bfcb0b67694cffe6353e372a57fe1
Contents?: true
Size: 311 Bytes
Versions: 17
Compression:
Stored size: 311 Bytes
Contents
# frozen_string_literal: true require 'digest' module SdrClient module Deposit module FileMetadataBuilderOperations # MD5 for this file. class MD5 NAME = 'md5' def self.for(filepath:, **) Digest::MD5.file(filepath).hexdigest end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems