src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileSystemUtilities.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.MicroPython.MicroPythonFileSystemUtilities</h1> 9 <h1>eric7.MicroPython.MicroPythonFileSystemUtilities</h1>
10
11 <p> 10 <p>
12 Module implementing some file system utility functions. 11 Module implementing some file system utility functions.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>MPY_EPOCH</td></tr> 16 <tr><td>MPY_EPOCH</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22 <tr><td>None</td></tr> 21 <tr><td>None</td></tr>
23 </table> 22 </table>
23
24 <h3>Functions</h3> 24 <h3>Functions</h3>
25
26 <table> 25 <table>
27
28 <tr> 26 <tr>
29 <td><a href="#decoratedName">decoratedName</a></td> 27 <td><a href="#decoratedName">decoratedName</a></td>
30 <td>Function to decorate the given name according to the given mode.</td> 28 <td>Function to decorate the given name according to the given mode.</td>
31 </tr> 29 </tr>
32 <tr> 30 <tr>
48 <tr> 46 <tr>
49 <td><a href="#mtime2string">mtime2string</a></td> 47 <td><a href="#mtime2string">mtime2string</a></td>
50 <td>Function to convert a time value to a string representation.</td> 48 <td>Function to convert a time value to a string representation.</td>
51 </tr> 49 </tr>
52 </table> 50 </table>
51
53 <hr /> 52 <hr />
54 <hr /> 53 <hr />
55 <a NAME="decoratedName" ID="decoratedName"></a> 54 <a NAME="decoratedName" ID="decoratedName"></a>
56 <h2>decoratedName</h2> 55 <h2>decoratedName</h2>
57 <b>decoratedName</b>(<i>name, mode, isDir=False</i>) 56 <b>decoratedName</b>(<i>name, mode, isDir=False</i>)
58
59 <p> 57 <p>
60 Function to decorate the given name according to the given mode. 58 Function to decorate the given name according to the given mode.
61 </p> 59 </p>
60
62 <dl> 61 <dl>
63 62
64 <dt><i>name</i> (str)</dt> 63 <dt><i>name</i> (str)</dt>
65 <dd> 64 <dd>
66 file or directory name 65 file or directory name
90 <hr /> 89 <hr />
91 <hr /> 90 <hr />
92 <a NAME="fstat" ID="fstat"></a> 91 <a NAME="fstat" ID="fstat"></a>
93 <h2>fstat</h2> 92 <h2>fstat</h2>
94 <b>fstat</b>(<i>filename</i>) 93 <b>fstat</b>(<i>filename</i>)
95
96 <p> 94 <p>
97 Function to get the stat() of file. 95 Function to get the stat() of file.
98 </p> 96 </p>
97
99 <dl> 98 <dl>
100 99
101 <dt><i>filename</i> (str)</dt> 100 <dt><i>filename</i> (str)</dt>
102 <dd> 101 <dd>
103 name of the file 102 name of the file
119 <hr /> 118 <hr />
120 <hr /> 119 <hr />
121 <a NAME="isVisible" ID="isVisible"></a> 120 <a NAME="isVisible" ID="isVisible"></a>
122 <h2>isVisible</h2> 121 <h2>isVisible</h2>
123 <b>isVisible</b>(<i>name, showHidden</i>) 122 <b>isVisible</b>(<i>name, showHidden</i>)
124
125 <p> 123 <p>
126 Function to check, if a filesystem entry is a hidden file or directory. 124 Function to check, if a filesystem entry is a hidden file or directory.
127 </p> 125 </p>
126
128 <dl> 127 <dl>
129 128
130 <dt><i>name</i> (str)</dt> 129 <dt><i>name</i> (str)</dt>
131 <dd> 130 <dd>
132 name to be checked 131 name to be checked
152 <hr /> 151 <hr />
153 <hr /> 152 <hr />
154 <a NAME="listdirStat" ID="listdirStat"></a> 153 <a NAME="listdirStat" ID="listdirStat"></a>
155 <h2>listdirStat</h2> 154 <h2>listdirStat</h2>
156 <b>listdirStat</b>(<i>dirname, showHidden=False</i>) 155 <b>listdirStat</b>(<i>dirname, showHidden=False</i>)
157
158 <p> 156 <p>
159 Function to get a list of directory entries and associated stat() tuples. 157 Function to get a list of directory entries and associated stat() tuples.
160 </p> 158 </p>
159
161 <dl> 160 <dl>
162 161
163 <dt><i>dirname</i> (str)</dt> 162 <dt><i>dirname</i> (str)</dt>
164 <dd> 163 <dd>
165 name of the directory to list 164 name of the directory to list
186 <hr /> 185 <hr />
187 <hr /> 186 <hr />
188 <a NAME="mode2string" ID="mode2string"></a> 187 <a NAME="mode2string" ID="mode2string"></a>
189 <h2>mode2string</h2> 188 <h2>mode2string</h2>
190 <b>mode2string</b>(<i>mode</i>) 189 <b>mode2string</b>(<i>mode</i>)
191
192 <p> 190 <p>
193 Function to convert a mode value to a string representation. 191 Function to convert a mode value to a string representation.
194 </p> 192 </p>
193
195 <dl> 194 <dl>
196 195
197 <dt><i>mode</i> (int)</dt> 196 <dt><i>mode</i> (int)</dt>
198 <dd> 197 <dd>
199 mode value 198 mode value
215 <hr /> 214 <hr />
216 <hr /> 215 <hr />
217 <a NAME="mtime2string" ID="mtime2string"></a> 216 <a NAME="mtime2string" ID="mtime2string"></a>
218 <h2>mtime2string</h2> 217 <h2>mtime2string</h2>
219 <b>mtime2string</b>(<i>mtime, adjustEpoch=False</i>) 218 <b>mtime2string</b>(<i>mtime, adjustEpoch=False</i>)
220
221 <p> 219 <p>
222 Function to convert a time value to a string representation. 220 Function to convert a time value to a string representation.
223 </p> 221 </p>
222
224 <dl> 223 <dl>
225 224
226 <dt><i>mtime</i> (int)</dt> 225 <dt><i>mtime</i> (int)</dt>
227 <dd> 226 <dd>
228 time value 227 time value

eric ide

mercurial