Sha256: 092e67e23d088c50e2dab300f7d751f3b72917cdfa60760c11c17f5244580a8f
Contents?: true
Size: 317 Bytes
Versions: 100
Compression:
Stored size: 317 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(file_path:, **) Digest::SHA1.file(file_path).hexdigest end end end end end
Version data entries
100 entries across 100 versions & 1 rubygems