@@ -275,30 +275,38 @@ STATIC const mp_rom_map_elem_t storage_module_globals_table[] = {
275275//| larger filesystems, but you will need to format the filesystem on another device.
276276//| """
277277//| ...
278+ //|
278279//| def open(self, path: str, mode: str) -> None:
279280//| """Like builtin ``open()``"""
280281//| ...
282+ //|
281283//| def ilistdir(
282284//| self, path: str
283285//| ) -> Iterator[Union[Tuple[AnyStr, int, int, int], Tuple[AnyStr, int, int]]]:
284286//| """Return an iterator whose values describe files and folders within
285287//| ``path``"""
286288//| ...
289+ //|
287290//| def mkdir(self, path: str) -> None:
288291//| """Like `os.mkdir`"""
289292//| ...
293+ //|
290294//| def rmdir(self, path: str) -> None:
291295//| """Like `os.rmdir`"""
292296//| ...
297+ //|
293298//| def stat(self, path: str) -> Tuple[int, int, int, int, int, int, int, int, int, int]:
294299//| """Like `os.stat`"""
295300//| ...
301+ //|
296302//| def statvfs(self, path: int) -> Tuple[int, int, int, int, int, int, int, int, int, int]:
297303//| """Like `os.statvfs`"""
298304//| ...
305+ //|
299306//| def mount(self, readonly: bool, mkfs: VfsFat) -> None:
300307//| """Don't call this directly, call `storage.mount`."""
301308//| ...
309+ //|
302310//| def umount(self) -> None:
303311//| """Don't call this directly, call `storage.umount`."""
304312//| ...
0 commit comments