func (fs *DeviceFs) newFolder(obj mtp.ObjectInfo, h uint32) *folderNode { obj.AssociationType = mtp.OFC_Association return &folderNode{ mtpNodeImpl: mtpNodeImpl{ handle: h, obj: &obj, fs: fs, }, } }
func (fs *deviceFS) newFolder(obj mtp.ObjectInfo, h uint32) *folderNode { obj.AssociationType = mtp.OFC_Association return &folderNode{ mtpNodeImpl: mtpNodeImpl{ Node: nodefs.NewDefaultNode(), handle: h, obj: &obj, fs: fs, }, } }
func (fs *DeviceFs) newFolder(obj mtp.ObjectInfo, id uint32, storage uint32) *folderNode { obj.AssociationType = mtp.OFC_Association return &folderNode{ fileNode: fs.newFile(obj, 0, id, storage), } }