mtd

package
v0.0.0-...-746469e Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MtdUtils

type MtdUtils interface {
	MtdIsNAND(devicepath string) (bool, error)
	GetTargetDeviceFromMtdName(fsBackend afero.Fs, mtdname string) (string, error)
}

type MtdUtilsImpl

type MtdUtilsImpl struct {
}

func (MtdUtilsImpl) GetTargetDeviceFromMtdName

func (m MtdUtilsImpl) GetTargetDeviceFromMtdName(fsBackend afero.Fs, mtdname string) (string, error)

func (MtdUtilsImpl) MtdIsNAND

func (m MtdUtilsImpl) MtdIsNAND(devicepath string) (bool, error)

type UbifsUtils

type UbifsUtils interface {
	GetTargetDeviceFromUbiVolumeName(fsBackend afero.Fs, volume string) (string, error)
}

type UbifsUtilsImpl

type UbifsUtilsImpl struct {
	utils.CmdLineExecuter
}

func (*UbifsUtilsImpl) GetTargetDeviceFromUbiVolumeName

func (uui *UbifsUtilsImpl) GetTargetDeviceFromUbiVolumeName(fsBackend afero.Fs, volume string) (string, error)

Jump to

Keyboard shortcuts

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