Method: Specinfra::Command::Smartos::Base::File.get_md5sum
- Defined in:
- lib/specinfra/command/smartos/base/file.rb
permalink .get_md5sum(file) ⇒ Object
[View source]
3 4 5 |
# File 'lib/specinfra/command/smartos/base/file.rb', line 3 def get_md5sum(file) "/usr/bin/digest -a md5 -v #{escape(file)} | cut -d '=' -f 2 | cut -c 2-" end |