CircuitPython/storage.py

changeset 7
e336d6afc5a6
equal deleted inserted replaced
6:81a2208f13e4 7:e336d6afc5a6
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module containing stubs for API generation of the 'storage' module.
8 """
9
10 def mount(filesystem, mount_path, *, readonly=False):
11 pass
12
13 def umount(mount):
14 pass
15
16 def remount(mount_path, readonly=False, *,
17 disable_concurrent_write_protection=False):
18 pass
19
20 def getmount(mount_path):
21 pass
22
23 def erase_filesystem():
24 pass
25
26 class VfsFat():
27 label = ""
28
29 def __init__(self, block_device):
30 pass
31
32 def mkfs(self):
33 pass
34
35 def open(self, path, mode):
36 pass
37
38 def ilistdir(self, path=None):
39 pass
40
41 def mkdir(self, path):
42 pass
43
44 def rmdir(self, path):
45 pass
46
47 def stat(self, path):
48 pass
49
50 def statvfs(self, path):
51 pass

eric ide

mercurial