Skip to content

Commit 2e155bc

Browse files
committed
shared-bindings: Add stub documentation of storage.VfsFat so other docs can link to it.
1 parent 509d522 commit 2e155bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shared-bindings/storage/__init__.c

+7
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
123123
{ MP_OBJ_NEW_QSTR(MP_QSTR_mount), MP_ROM_PTR(&storage_mount_obj) },
124124
{ MP_OBJ_NEW_QSTR(MP_QSTR_umount), MP_ROM_PTR(&storage_umount_obj) },
125125
{ MP_OBJ_NEW_QSTR(MP_QSTR_remount), MP_ROM_PTR(&storage_remount_obj) },
126+
127+
//| .. class:: VfsFat(block_device)
128+
//|
129+
//| Create a new VfsFat filesystem around the given block device.
130+
//|
131+
//| :param block_device: Block device the the filesystem lives on
132+
//|
126133
{ MP_OBJ_NEW_QSTR(MP_QSTR_VfsFat), MP_ROM_PTR(&mp_fat_vfs_type) },
127134
};
128135

0 commit comments

Comments
 (0)