struct
Verisum::FileRecord
- Verisum::FileRecord
- Struct
- Value
- Object
Overview
Define a FileRecord structure to store the checksum and file path
Defined in:
verisum/file_record.crConstructors
Instance Method Summary
- #checksum : String
- #filepath : Path
-
#guess_algorithm : Algorithm
Returns the algorithm used to calculate the checksum based on the checksum pattern
-
#to_s(io) : Nil
Return the string representation of the FileRecord If the file path is "-", return only the checksum (for standard input)
Constructor Detail
Instance Method Detail
Returns the algorithm used to calculate the checksum based on the checksum pattern
def to_s(io) : Nil
#
Return the string representation of the FileRecord If the file path is "-", return only the checksum (for standard input)