Sha256: b751925cd962d67dc7407e25647215c08caaa4a4199b72db2747cf27f54404fa
Contents?: true
Size: 297 Bytes
Versions: 10
Compression:
Stored size: 297 Bytes
Contents
# frozen_string_literal: true module SdrClient module Deposit module FileMetadataBuilderOperations # SHA1 for this file. class SHA1 NAME = 'sha1' def self.for(filepath:, **) Digest::SHA1.file(filepath).hexdigest end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems