simusb

package
v0.0.0-...-35d4a19 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: GPL-3.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USBMSsession

type USBMSsession struct {

	// The new mountpoint for the user partition
	CurOnboardMnt string
	// The new mountpoint for the external SD card, if it exists.
	// Note, this will be an empty string if the SD card does not exist,
	// or is not mounted.
	CurSDMnt string
	// contains filtered or unexported fields
}

USBMSsession contains the information required to manage entering and leaving Nickels USBMS mode

func New

func New(fbI *gofbink.FBInk) (u *USBMSsession, err error)

New initilializes a USBMSsession struct

func (*USBMSsession) End

func (u *USBMSsession) End(waitForContentImport bool) error

End carries out the process of safely ending a USBMS session

func (*USBMSsession) Start

func (u *USBMSsession) Start(enableWifi, mountPart bool) error

Start carries out the process of safely entering USBMS mode Whilst in USBMS mode, u.CurOnboardMnt is the new mountpoint for the Kobo internal memory

Jump to

Keyboard shortcuts

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