testdisk

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const FakePartitionSize = uint64(789) * common.MiB

Variables

This section is empty.

Functions

func MakeFakeBtrfsPartitionTable added in v0.70.0

func MakeFakeBtrfsPartitionTable(mntPoints ...string) *disk.PartitionTable

MakeFakeBtrfsPartitionTable is similar to MakeFakePartitionTable but creates a btrfs-based partition table.

func MakeFakeLVMPartitionTable added in v0.81.0

func MakeFakeLVMPartitionTable(mntPoints ...string) *disk.PartitionTable

MakeFakeLVMPartitionTable is similar to MakeFakePartitionTable but creates a lvm-based partition table.

func MakeFakePartitionTable

func MakeFakePartitionTable(mntPoints ...string) *disk.PartitionTable

MakeFakePartitionTable is a helper to create partition table structs for tests. It uses sensible defaults for common scenarios.

Types

This section is empty.

Jump to

Keyboard shortcuts

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