Documentation ¶
Overview ¶
Package partition provides ability to work with individual partitions. All useful implementations are subpackages of this package, e.g. github.com/diskfs/go-diskfs/gpt
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table interface { Type() string Write(util.File, int64) error GetPartitionSize(int) (int64, error) GetPartitionStart(int) (int64, error) ReadPartitionContents(int, util.File, io.Writer) (int64, error) WritePartitionContents(int, util.File, io.Reader) (uint64, error) }
Table reference to a partitioning table on disk
Directories ¶
Path | Synopsis |
---|---|
Package gpt provides an interface to GUID Partition Table (GPT) partitioned disks.
|
Package gpt provides an interface to GUID Partition Table (GPT) partitioned disks. |
Package mbr provides an interface to Master Boot Record (MBR) partitioned disks.
|
Package mbr provides an interface to Master Boot Record (MBR) partitioned disks. |
Click to show internal directories.
Click to hide internal directories.