partition

package
v0.0.0-...-ed0a78e Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package partition represents a parsed partition-table entry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partition

type Partition struct {
	Index     int    // 1-based partition number
	StartByte int64  // byte offset of first sector of partition
	SizeBytes int64  // total byte length of partition
	TypeGUID  string // GPT partition type GUID (empty for MBR partitions)
	Name      string // human-readable label (GPT only)
}

Partition holds the location of a single partition within a disk image.

Directories

Path Synopsis
Package gpt parses GUID Partition Tables.
Package gpt parses GUID Partition Tables.

Jump to

Keyboard shortcuts

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