--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/storage.py Thu Aug 29 19:05:05 2019 +0200 @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'storage' module. +""" + +def mount(filesystem, mount_path, *, readonly=False): + pass + +def umount(mount): + pass + +def remount(mount_path, readonly=False, *, + disable_concurrent_write_protection=False): + pass + +def getmount(mount_path): + pass + +def erase_filesystem(): + pass + +class VfsFat(): + label = "" + + def __init__(self, block_device): + pass + + def mkfs(self): + pass + + def open(self, path, mode): + pass + + def ilistdir(self, path=None): + pass + + def mkdir(self, path): + pass + + def rmdir(self, path): + pass + + def stat(self, path): + pass + + def statvfs(self, path): + pass