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.82.5 lib/specinfra/command/smartos/base/file.rb
specinfra-2.82.4 lib/specinfra/command/smartos/base/file.rb
specinfra-2.82.3 lib/specinfra/command/smartos/base/file.rb
specinfra-2.82.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.82.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.82.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.81.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.80.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.79.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.78.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.78.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.78.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.77.3 lib/specinfra/command/smartos/base/file.rb
specinfra-2.77.2 lib/specinfra/command/smartos/base/file.rb
specinfra-2.77.1 lib/specinfra/command/smartos/base/file.rb
specinfra-2.77.0 lib/specinfra/command/smartos/base/file.rb
specinfra-2.76.9 lib/specinfra/command/smartos/base/file.rb
specinfra-2.76.8 lib/specinfra/command/smartos/base/file.rb
specinfra-2.76.7 lib/specinfra/command/smartos/base/file.rb
specinfra-2.76.6 lib/specinfra/command/smartos/base/file.rb