Method: Specinfra::Command::Openbsd::Base::File.get_sha256sum
- Defined in:
- lib/specinfra/command/openbsd/base/file.rb
.get_sha256sum(file) ⇒ Object
7 8 9 |
# File 'lib/specinfra/command/openbsd/base/file.rb', line 7 def get_sha256sum(file) "cksum -qa sha256 #{escape(file)} | cut -d ' ' -f 1" end |