struct
Bakelite::FileMetadata
- Bakelite::FileMetadata
- Struct
- Value
- Object
Overview
Metadata describing an embedded or stored file.
Defined in:
bakelite/types.crConstructors
Instance Method Summary
- #chunk_size : UInt32
- #chunks : Array(Chunk)
- #compressed_size : Int64
- #compression : CompressionType
- #crc32 : UInt32
- #mime_type : String
- #mode : StorageMode
- #path : String
- #size : Int64
- #volume_name : String
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)
#