Sha256: 02fab76254bbe8f61c943c716a2608d808e74431b4a16f26361267f36f5ca107
Contents?: true
Size: 315 Bytes
Versions: 17
Compression:
Stored size: 315 Bytes
Contents
# frozen_string_literal: true require 'digest' 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
17 entries across 17 versions & 1 rubygems