class
Verisum::App::Checker
- Verisum::App::Checker
- Reference
- Object
Included Modules
Defined in:
verisum/app/checker.crConstructors
Class Method Summary
Instance Method Summary
- #dispatch(result, filepath, index, expected_hash_value, actual_hash_value, error) : CheckResult
- #evaluate_verification(expected_hash_value, actual_hash_value, error) : Symbol
- #exit_code : Int32
- #option : Option
-
#parse_checksum_file(filename) : Array(FileRecord)
Read the checksum file and parse each line into records
- #print_error_message(filepath, index, total, error) : Nil
- #print_mismatch_message(filepath, index, total, expected_hash_value, actual_hash_value) : Nil
- #print_ok_message(filepath, index, total) : Nil
- #print_result(result, elapsed_time) : Nil
- #run : Int32
- #run_check_file(filename : String)
- #screen_width
- #screen_width=(screen_width : Int32 | Nil)
- #update_clear_flag(type : Symbol) : Bool
- #update_counts(result : CheckResult, type : Symbol) : CheckResult
- #update_status(type : Symbol) : Int32
-
#verify_checksums(records : Array(FileRecord), algorithm : Algorithm) : CheckResult
Verify the MD5 checksums of the files
Instance methods inherited from module Verisum::App::Utils
remove_bom(line : String) : String
remove_bom
Instance methods inherited from module Verisum::Redirect
stderr : IO
stderr,
stderr=(stderr : IO)
stderr=,
stdout : IO
stdout,
stdout=(stdout : IO)
stdout=
Constructor Detail
Class Method Detail
Instance Method Detail
def dispatch(result, filepath, index, expected_hash_value, actual_hash_value, error) : CheckResult
#
def parse_checksum_file(filename) : Array(FileRecord)
#
Read the checksum file and parse each line into records
def print_mismatch_message(filepath, index, total, expected_hash_value, actual_hash_value) : Nil
#
Verify the MD5 checksums of the files