struct Bakelite::FileMetadata

Overview

Metadata describing an embedded or stored file.

Defined in:

bakelite/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(path : String, volume_name : Symbol | String, size : Int64, compressed_size : Int64, mode : StorageMode, compression : CompressionType, mime_type : String, crc32 : UInt32, chunk_size : UInt32 = 65536_u32, chunks : Array(Chunk) = [] of Chunk) #

Instance Method Detail

def chunk_size : UInt32 #

def chunks : Array(Chunk) #

def compressed_size : Int64 #

def compression : CompressionType #

def crc32 : UInt32 #

def mime_type : String #

def mode : StorageMode #

def path : String #

def size : Int64 #

def volume_name : String #