Method: Specinfra::Command::Darwin::Base::File.get_md5sum
- Defined in:
- lib/specinfra/command/darwin/base/file.rb
.get_md5sum(file) ⇒ Object
7 8 9 |
# File 'lib/specinfra/command/darwin/base/file.rb', line 7 def get_md5sum(file) "openssl md5 #{escape(file)} | cut -d'=' -f2 | cut -c 2-" end |