grosser.it
Checksum for a whole folder in Ruby
Generates a checksum for a given folder without considering updated_at/created_at/permissions, just the content. def self.checksum(dir) files = Dir[“#{dir}/**/*”].reject{|f| File.direct…