Sha256: 43a5d197f4aec7c968e2bb7ff5a8a1a9439ca51c7bfb72ebd70172b77b0dc977

Contents?: true

Size: 353 Bytes

Versions: 277

Compression:

Stored size: 353 Bytes

Contents

class Specinfra::Command::Smartos::Base::File < Specinfra::Command::Solaris::Base::File
  class << self
    def get_md5sum(file)
      "/usr/bin/digest -a md5 -v #{escape(file)} | cut -d '=' -f 2 |  cut -c 2-"
    end
    
    def get_sha256sum(file)
      "/usr/bin/digest -a sha256 -v #{escape(file)} | cut -d '=' -f 2 |  cut -c 2-"
    end
  end
end

Version data entries

277 entries across 277 versions & 3 rubygems

Version Path
specinfra-2.71.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.70.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.70.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.70.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.69.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.68.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.68.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.68.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.10 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.9 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.8 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.7 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.6 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.5 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.3 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.67.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.66.9 lib/specinfra/command/smartos/base/file.rb
specinfra-2.66.8 lib/specinfra/command/smartos/base/file.rb