Documentation
¶
Index ¶
- type Device
- func (m Device) GetAllPartitions() (block.PartitionList, error)
- func (m Device) GetDevicePartitions(device string) (block.PartitionList, error)
- func (m Device) GetDeviceSectorSize(_ string) (uint, error)
- func (m Device) GetPartitionFS(partition string) (string, error)
- func (m *Device) SetError(err error)
- func (m *Device) SetPartitions(partitions block.PartitionList)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func NewBlockDevice ¶
func (Device) GetAllPartitions ¶
func (m Device) GetAllPartitions() (block.PartitionList, error)
func (Device) GetDevicePartitions ¶
func (m Device) GetDevicePartitions(device string) (block.PartitionList, error)
func (*Device) SetPartitions ¶
func (m *Device) SetPartitions(partitions block.PartitionList)
Click to show internal directories.
Click to hide internal directories.