src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html

branch
eric7
changeset 10515
6e790462348a
parent 10479
856476537696
child 10684
58c7f23ae1cb
--- a/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Fri Jan 19 09:50:47 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.Devices.DeviceBase.html	Sat Jan 20 12:36:40 2024 +0100
@@ -439,6 +439,10 @@
 <td>Public method to remove the saved IPv4 parameters from the connected device.</td>
 </tr>
 <tr>
+<td><a href="#BaseDevice.rename">rename</a></td>
+<td>Public method to rename a file on the device.</td>
+</tr>
+<tr>
 <td><a href="#BaseDevice.rm">rm</a></td>
 <td>Public method to remove a file from the connected device.</td>
 </tr>
@@ -2248,6 +2252,31 @@
 tuple of (bool, str)
 </dd>
 </dl>
+<a NAME="BaseDevice.rename" ID="BaseDevice.rename"></a>
+<h4>BaseDevice.rename</h4>
+<b>rename</b>(<i>oldname, newname</i>)
+<p>
+        Public method to rename a file on the device.
+</p>
+
+<dl>
+
+<dt><i>oldname</i> (str)</dt>
+<dd>
+current name of the file
+</dd>
+<dt><i>newname</i> (str)</dt>
+<dd>
+new name for the file
+</dd>
+</dl>
+<dl>
+
+<dt>Raises <b>OSError</b>:</dt>
+<dd>
+raised to indicate an issue with the device
+</dd>
+</dl>
 <a NAME="BaseDevice.rm" ID="BaseDevice.rm"></a>
 <h4>BaseDevice.rm</h4>
 <b>rm</b>(<i>filename</i>)

eric ide

mercurial