Verisum::App::Checker
Inherits Verisum::App::Utils < Verisum::Redirect < Reference < Object
Constructors
new(option : Option = Option.new)
SourceClass methods
run(option : Option, stdout : IO, stderr : IO) : Int32
SourceInstance methods
dispatch(result, filepath, index, expected_hash_value, actual_hash_value, error) : CheckResult
Sourceevaluate_verification(expected_hash_value, actual_hash_value, error) : Symbol
Sourceexit_code
Sourceoption
Sourceparse_checksum_file(filename) : Array(FileRecord)
Read the checksum file and parse each line into records
print_error_message(filepath, index, total, error) : Nil
Sourceprint_mismatch_message(filepath, index, total, expected_hash_value, actual_hash_value) : Nil
Sourceprint_ok_message(filepath, index, total) : Nil
Sourceprint_result(result, elapsed_time) : Nil
Sourcerun
Sourcerun_check_file(filename : String)
Sourcescreen_width
Sourcescreen_width=(screen_width : Int32 | Nil)
Sourceupdate_clear_flag(type : Symbol) : Bool
Sourceupdate_counts(result : CheckResult, type : Symbol) : CheckResult
Sourceupdate_status(type : Symbol) : Int32
Sourceverify_checksums(records : Array(FileRecord), algorithm : Algorithm) : CheckResult
Verify the MD5 checksums of the files