Module: Chef::Mixin::Checksum

Included in:
Provider::File, Provider::Template
Defined in:
lib/chef/mixin/checksum.rb

Instance Method Summary collapse

Instance Method Details

#checksum(file) ⇒ Object



26
27
28
# File 'lib/chef/mixin/checksum.rb', line 26

def checksum(file)
  Chef::ChecksumCache.checksum_for_file(file)
end