struct
Bakelite::Core::FileVerificationEntry
- Bakelite::Core::FileVerificationEntry
- Struct
- Value
- Object
Overview
Per-file verification telemetry and computed content digests.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
bakelite/core/integrity_verifier.crConstructors
- .new(path : String, volume_name : String, size : Int64, actual_size : Int64, compressed_size : Int64, crc32 : UInt32, actual_crc32 : UInt32, sha256 : String, chunks_verified : Int32 = 0, valid : Bool = true, expected_sha256 : String | Nil = nil, error_message : String | Nil = nil)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #actual_crc32 : UInt32
- #actual_crc32_hex : String
- #actual_size : Int64
- #chunks_verified : Int32
- #compressed_size : Int64
- #content_address : String
- #crc32 : UInt32
- #crc32_hex : String
- #error_message : String | Nil
- #expected_sha256 : String | Nil
- #path : String
- #sha256 : String
- #size : Int64
- #valid : Bool
- #valid? : Bool
- #volume_name : String
Constructor Detail
def self.new(path : String, volume_name : String, size : Int64, actual_size : Int64, compressed_size : Int64, crc32 : UInt32, actual_crc32 : UInt32, sha256 : String, chunks_verified : Int32 = 0, valid : Bool = true, expected_sha256 : String | Nil = nil, error_message : String | Nil = nil)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#