struct Bakelite::Core::FileVerificationEntry

Overview

Per-file verification telemetry and computed content digests.

Included Modules

Defined in:

bakelite/core/integrity_verifier.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def actual_crc32 : UInt32 #

[View source]
def actual_crc32_hex : String #

[View source]
def actual_size : Int64 #

[View source]
def chunks_verified : Int32 #

[View source]
def compressed_size : Int64 #

[View source]
def content_address : String #

[View source]
def crc32 : UInt32 #

[View source]
def crc32_hex : String #

[View source]
def error_message : String | Nil #

[View source]
def expected_sha256 : String | Nil #

[View source]
def path : String #

[View source]
def sha256 : String #

[View source]
def size : Int64 #

[View source]
def valid : Bool #

[View source]
def valid? : Bool #

[View source]
def volume_name : String #

[View source]