class

VirtualFs::ChunkStore

Inherits Reference / Object

Manages deduplicated chunks. Each unique chunk is stored once, referenced by SHA-256 hash from multiple entries.

Constructors

read_from(io : IO) : ChunkStore
Source

Instance methods

add(data : Bytes, offset : Int64, length : Int32, compressed_length : Int32, crc32 : UInt32) : Tuple(UInt32, Bool)
Source
entries
Source
unique_count
Source
write_to(io : IO) : Nil
Source

Nested types