Documentation ¶
Overview ¶
Package btrfssum contains the checksum types and algorithms that btrfs uses.
Index ¶
Constants ¶
View Source
const BlockSize = 4 * 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShortSum ¶
type ShortSum string
func (*ShortSum) DecodeJSON ¶
func (sum *ShortSum) DecodeJSON(r io.RuneScanner) error
type SumRun ¶
type SumRun[Addr btrfsvol.IntAddr[Addr]] struct { // How big a ShortSum is in this Run. ChecksumSize int `json:",omitempty"` // Base address where this run starts. Addr Addr `json:",omitempty"` // All of the ShortSums in this run, concatenated together. Sums ShortSum }
func (SumRun[Addr]) SeqGet ¶
SeqGet implements diskio.Sequence[int, ShortSum].
func (SumRun[Addr]) SeqLen ¶
SeqLen implements diskio.Sequence[int, ShortSum].
Click to show internal directories.
Click to hide internal directories.