part

package
v1.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2026 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIncompletePartitionWriteError added in v1.8.0

func NewIncompletePartitionWriteError(written, total uint64) error

Types

type IncompletePartitionWriteError added in v1.8.0

type IncompletePartitionWriteError struct {
	// contains filtered or unexported fields
}

func (*IncompletePartitionWriteError) Error added in v1.8.0

type Partition

type Partition interface {
	GetIndex() int // Index of the partition in the table, starting at 1
	GetSize() int64
	GetStart() int64
	ReadContents(backend.File, io.Writer) (int64, error)
	WriteContents(backend.WritableFile, io.Reader) (uint64, error)
	UUID() string
	Label() string
}

Partition reference to an individual partition on disk

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL