summaryrefslogtreecommitdiff
path: root/shared-bindings/storage/__init__.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@chickadee.tech>2017-08-07 16:20:19 -0700
committerScott Shawcroft <scott@chickadee.tech>2017-08-07 16:20:19 -0700
commit2e155bcc3103443e7eb6d5c514394f691c431b30 (patch)
tree5ebfd2bf481db2266131e3011616dafa6b99eafd /shared-bindings/storage/__init__.c
parent509d5223ea7153985a8afb3543ea386fa8f720bf (diff)
shared-bindings: Add stub documentation of storage.VfsFat so other docs can link to it.2.0.0-beta.1
Diffstat (limited to 'shared-bindings/storage/__init__.c')
-rw-r--r--shared-bindings/storage/__init__.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-bindings/storage/__init__.c b/shared-bindings/storage/__init__.c
index b8d3e69fc..993b87f32 100644
--- a/shared-bindings/storage/__init__.c
+++ b/shared-bindings/storage/__init__.c
@@ -123,6 +123,13 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_mount), MP_ROM_PTR(&storage_mount_obj) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_umount), MP_ROM_PTR(&storage_umount_obj) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_remount), MP_ROM_PTR(&storage_remount_obj) },
+
+ //| .. class:: VfsFat(block_device)
+ //|
+ //| Create a new VfsFat filesystem around the given block device.
+ //|
+ //| :param block_device: Block device the the filesystem lives on
+ //|
{ MP_OBJ_NEW_QSTR(MP_QSTR_VfsFat), MP_ROM_PTR(&mp_fat_vfs_type) },
};