module Blockbuster::FileHelpers
file helper methods
Public Instance Methods
file_digest(file)
click to toggle source
# File lib/blockbuster/concerns/file_helpers.rb, line 4 def file_digest(file) Digest::MD5.file(file).hexdigest end
tar_digest(content)
click to toggle source
# File lib/blockbuster/concerns/file_helpers.rb, line 8 def tar_digest(content) Digest::MD5.hexdigest(content) end