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) (nodefs.Node, error)
DeviceFs is a simple filesystem interface to an MTP device. It should be wrapped in a Locking(Raw)FileSystem 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.