Class: Backup::Checksum::Shasum
- Defined in:
- lib/backup/checksum/shasum.rb
Constant Summary
Constants included from Backup::CLI::Helpers
Instance Method Summary collapse
Methods inherited from Base
#initialize, #process_checksum_file_before_transfer
Methods included from Backup::Configuration::Helpers
#clear_defaults!, #load_defaults!
Methods included from Backup::CLI::Helpers
#command_name, #raise_if_command_failed!, #run, #utility
Constructor Details
This class inherits a constructor from Backup::Checksum::Base
Instance Method Details
#checksum_with(outfile) {|"shasum '#{outfile}' >> '#{outfile}.sum'"| ... } ⇒ Object
8 9 10 11 |
# File 'lib/backup/checksum/shasum.rb', line 8 def checksum_with(outfile) log! yield "shasum '#{outfile}' >> '#{outfile}.sum'" end |