Method: Specinfra::Command::Base::File.get_sha256sum

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

.get_sha256sum(file) ⇒ Object


95
96
97
# File 'lib/specinfra/command/base/file.rb', line 95

def get_sha256sum(file)
  "sha256sum #{escape(file)} | cut -d ' ' -f 1"
end