class

Verisum::App::Checker

Inherits Verisum::App::Utils < Verisum::Redirect < Reference < Object

Constructors

new(option : Option = Option.new)
Source

Class methods

run(option : Option, stdout : IO, stderr : IO) : Int32
Source

Instance methods

dispatch(result, filepath, index, expected_hash_value, actual_hash_value, error) : CheckResult
Source
evaluate_verification(expected_hash_value, actual_hash_value, error) : Symbol
Source
exit_code
Source
option
Source
parse_checksum_file(filename) : Array(FileRecord)

Read the checksum file and parse each line into records

Source
run_check_file(filename : String)
Source
screen_width
Source
screen_width=(screen_width : Int32 | Nil)
Source
update_clear_flag(type : Symbol) : Bool
Source
update_counts(result : CheckResult, type : Symbol) : CheckResult
Source
update_status(type : Symbol) : Int32
Source
verify_checksums(records : Array(FileRecord), algorithm : Algorithm) : CheckResult

Verify the MD5 checksums of the files

Source