@@ -167,54 +167,55 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
167
167
{ MP_ROM_QSTR (MP_QSTR_getmount ), MP_ROM_PTR (& storage_getmount_obj ) },
168
168
{ MP_ROM_QSTR (MP_QSTR_erase_filesystem ), MP_ROM_PTR (& storage_erase_filesystem_obj ) },
169
169
170
- //| class VfsFat:
171
- //| def __init__(self, block_device: Any): ...
172
- //| """Create a new VfsFat filesystem around the given block device.
173
- //|
174
- //| :param block_device: Block device the the filesystem lives on"""
175
- //|
176
- //| label: Any = ...
177
- //| """The filesystem label, up to 11 case-insensitive bytes. Note that
178
- //| this property can only be set when the device is writable by the
179
- //| microcontroller."""
180
- //|
181
- //| def mkfs(self, ) -> Any:
182
- //| """Format the block device, deleting any data that may have been there"""
183
- //| ...
184
- //|
185
- //| def open(self, path: Any, mode: Any) -> Any:
186
- //| """Like builtin ``open()``"""
187
- //| ...
188
- //|
189
- //| def ilistdir(self, path: Any) -> Any:
190
- //| """Return an iterator whose values describe files and folders within
191
- //| ``path``"""
192
- //| ...
193
- //|
194
- //| def mkdir(self, path: Any) -> Any:
195
- //| """Like `os.mkdir`"""
196
- //| ...
197
- //|
198
- //| def rmdir(self, path: Any) -> Any:
199
- //| """Like `os.rmdir`"""
200
- //| ...
201
- //|
202
- //| def stat(self, path: Any) -> Any:
203
- //| """Like `os.stat`"""
204
- //| ...
205
- //|
206
- //| def statvfs(self, path: Any) -> Any:
207
- //| """Like `os.statvfs`"""
208
- //| ...
209
- //|
210
- //| def mount(self, readonly: Any, mkfs: Any) -> Any:
211
- //| """Don't call this directly, call `storage.mount`."""
212
- //| ...
213
- //|
214
- //| def umount(self, ) -> Any:
215
- //| """Don't call this directly, call `storage.umount`."""
216
- //| ...
217
- //|
170
+ //| class VfsFat:
171
+ //| def __init__(self, block_device: Any):
172
+ //| """Create a new VfsFat filesystem around the given block device.
173
+ //|
174
+ //| :param block_device: Block device the the filesystem lives on"""
175
+ //|
176
+ //| label: Any = ...
177
+ //| """The filesystem label, up to 11 case-insensitive bytes. Note that
178
+ //| this property can only be set when the device is writable by the
179
+ //| microcontroller."""
180
+ //| ...
181
+ //|
182
+ //| def mkfs(self) -> Any:
183
+ //| """Format the block device, deleting any data that may have been there"""
184
+ //| ...
185
+ //|
186
+ //| def open(self, path: Any, mode: Any) -> Any:
187
+ //| """Like builtin ``open()``"""
188
+ //| ...
189
+ //|
190
+ //| def ilistdir(self, path: Any) -> Any:
191
+ //| """Return an iterator whose values describe files and folders within
192
+ //| ``path``"""
193
+ //| ...
194
+ //|
195
+ //| def mkdir(self, path: Any) -> Any:
196
+ //| """Like `os.mkdir`"""
197
+ //| ...
198
+ //|
199
+ //| def rmdir(self, path: Any) -> Any:
200
+ //| """Like `os.rmdir`"""
201
+ //| ...
202
+ //|
203
+ //| def stat(self, path: Any) -> Any:
204
+ //| """Like `os.stat`"""
205
+ //| ...
206
+ //|
207
+ //| def statvfs(self, path: Any) -> Any:
208
+ //| """Like `os.statvfs`"""
209
+ //| ...
210
+ //|
211
+ //| def mount(self, readonly: Any, mkfs: Any) -> Any:
212
+ //| """Don't call this directly, call `storage.mount`."""
213
+ //| ...
214
+ //|
215
+ //| def umount(self) -> Any:
216
+ //| """Don't call this directly, call `storage.umount`."""
217
+ //| ...
218
+ //|
218
219
{ MP_ROM_QSTR (MP_QSTR_VfsFat ), MP_ROM_PTR (& mp_fat_vfs_type ) },
219
220
};
220
221
0 commit comments