Documentation ¶
Index ¶
Constants ¶
View Source
const NOPARENT_ID = 0xFFFFFFFF
Variables ¶
This section is empty.
Functions ¶
func NewDeviceFSRoot ¶
func NewDeviceFSRoot(d *mtp.Device, storages []uint32, options DeviceFsOptions) (*rootNode, error)
DeviceFs is a simple filesystem interface to an MTP device. It must be mounted as SingleThread to make sure it is threadsafe. The file system assumes the device does not touch the storage. Arguments are the opened MTP device and a directory for the backing store.
func SanitizeDosName ¶
Types ¶
type DeviceFsOptions ¶
Click to show internal directories.
Click to hide internal directories.