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.91.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.90.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.90.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.89.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.88.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.88.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.88.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.87.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.87.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.87.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.86.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.85.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.85.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.84.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.84.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.83.4 lib/specinfra/command/smartos/base/file.rb
specinfra-2.83.3 lib/specinfra/command/smartos/base/file.rb
specinfra-2.83.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.83.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.83.0 lib/specinfra/command/smartos/base/file.rb