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
Click to show internal directories.
Click to hide internal directories.