Module: Chef::Mixin::Checksum

Included in:
Cookbook::SyntaxCheck, Provider::File, Provider::RegistryKey, 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::Digester.checksum_for_file(file)
end