Method: Specinfra::Command::Openbsd::Base::File.get_md5sum

Defined in:
lib/specinfra/command/openbsd/base/file.rb

.get_md5sum(file) ⇒ Object

[View source]

3
4
5
# File 'lib/specinfra/command/openbsd/base/file.rb', line 3

def get_md5sum(file)
  "cksum -qa md5 #{escape(file)} | cut -d ' ' -f 1"
end