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

branch
eric7
changeset 9853
080e060a0383
parent 9765
6378da868bb0
child 10479
856476537696
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManager.html	Mon Mar 06 11:39:26 2023 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManager.html	Mon Mar 06 16:13:42 2023 +0100
@@ -139,6 +139,10 @@
 <td>Public slot to delete a file on the device.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManager.exists">exists</a></td>
+<td>Public method to check the existence of a file or directory.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManager.fileSystemInfo">fileSystemInfo</a></td>
 <td>Public method to obtain information about the currently mounted file systems.</td>
 </tr>
@@ -155,6 +159,10 @@
 <td>Public slot to get a long listing of the given directory.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManager.makedirs">makedirs</a></td>
+<td>Public slot to create a new directory and all intermediates.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManager.mkdir">mkdir</a></td>
 <td>Public slot to create a new directory.</td>
 </tr>
@@ -178,6 +186,10 @@
 <td><a href="#MicroPythonFileManager.rsync">rsync</a></td>
 <td>Public slot to synchronize a local directory to the device.</td>
 </tr>
+<tr>
+<td><a href="#MicroPythonFileManager.writeFile">writeFile</a></td>
+<td>Public method to write some text to a file on the connected device.</td>
+</tr>
 </table>
 <h3>Static Methods</h3>
 
@@ -274,6 +286,32 @@
 name of the file on the connected device
 </dd>
 </dl>
+<a NAME="MicroPythonFileManager.exists" ID="MicroPythonFileManager.exists"></a>
+<h4>MicroPythonFileManager.exists</h4>
+<b>exists</b>(<i>pathname</i>)
+
+<p>
+        Public method to check the existence of a file or directory.
+</p>
+<dl>
+
+<dt><i>pathname</i> (str)</dt>
+<dd>
+name of the path to check
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating the existence
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <a NAME="MicroPythonFileManager.fileSystemInfo" ID="MicroPythonFileManager.fileSystemInfo"></a>
 <h4>MicroPythonFileManager.fileSystemInfo</h4>
 <b>fileSystemInfo</b>(<i></i>)
@@ -344,6 +382,20 @@
 flag indicating to show hidden files as well
 </dd>
 </dl>
+<a NAME="MicroPythonFileManager.makedirs" ID="MicroPythonFileManager.makedirs"></a>
+<h4>MicroPythonFileManager.makedirs</h4>
+<b>makedirs</b>(<i>dirname</i>)
+
+<p>
+        Public slot to create a new directory and all intermediates.
+</p>
+<dl>
+
+<dt><i>dirname</i> (str)</dt>
+<dd>
+name of the directory to create
+</dd>
+</dl>
 <a NAME="MicroPythonFileManager.mkdir" ID="MicroPythonFileManager.mkdir"></a>
 <h4>MicroPythonFileManager.mkdir</h4>
 <b>mkdir</b>(<i>dirname</i>)
@@ -446,6 +498,36 @@
 flag indicating device access via local file system
 </dd>
 </dl>
+<a NAME="MicroPythonFileManager.writeFile" ID="MicroPythonFileManager.writeFile"></a>
+<h4>MicroPythonFileManager.writeFile</h4>
+<b>writeFile</b>(<i>filename, text</i>)
+
+<p>
+        Public method to write some text to a file on the connected device.
+</p>
+<dl>
+
+<dt><i>filename</i> (str)</dt>
+<dd>
+name of the file on the connected device
+</dd>
+<dt><i>text</i> (str)</dt>
+<dd>
+text to be written
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+flag indicating success
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+bool
+</dd>
+</dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />
 </body></html>
\ No newline at end of file

eric ide

mercurial