fs

package
v0.0.0-...-56c9332 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileSystems

func CheckFileSystems(r *io.SectionReader, checkFsFuncs []CheckFsFunc) (bool, error)

Types

type CheckFsFunc

type CheckFsFunc func(r io.Reader) bool

type DirectFileSystem

type DirectFileSystem struct {
	Partition *DirectFileSystemPartition
}

func NewDirectFileSystem

func NewDirectFileSystem(sr *io.SectionReader) (*DirectFileSystem, error)

func (*DirectFileSystem) Next

func (d *DirectFileSystem) Next() (types.Partition, error)

type DirectFileSystemPartition

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

func (DirectFileSystemPartition) Bootable

func (p DirectFileSystemPartition) Bootable() bool

func (DirectFileSystemPartition) GetSectionReader

func (p DirectFileSystemPartition) GetSectionReader() io.SectionReader

func (DirectFileSystemPartition) GetSize

func (p DirectFileSystemPartition) GetSize() uint64

func (DirectFileSystemPartition) GetStartSector

func (p DirectFileSystemPartition) GetStartSector() uint64

func (DirectFileSystemPartition) GetType

func (p DirectFileSystemPartition) GetType() []byte

func (DirectFileSystemPartition) IsSupported

func (p DirectFileSystemPartition) IsSupported() bool

func (DirectFileSystemPartition) Name

Jump to

Keyboard shortcuts

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