Documentation/Source/eric5.Utilities.__init__.html

changeset 682
91114a975eda
parent 565
21191e634b47
child 757
d3daf1d8f058
--- a/Documentation/Source/eric5.Utilities.__init__.html	Sat Oct 16 19:18:43 2010 +0200
+++ b/Documentation/Source/eric5.Utilities.__init__.html	Sat Oct 16 20:28:00 2010 +0200
@@ -185,6 +185,9 @@
 <td><a href="#readEncodedFile">readEncodedFile</a></td>
 <td>Function to read a file and decode it's contents into proper text.</td>
 </tr><tr>
+<td><a href="#readEncodedFileWithHash">readEncodedFileWithHash</a></td>
+<td>Function to read a file, calculate a hash value and decode it's contents into proper text.</td>
+</tr><tr>
 <td><a href="#relpath">relpath</a></td>
 <td>Return a relative version of a path.</td>
 </tr><tr>
@@ -1192,6 +1195,25 @@
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr /><hr />
+<a NAME="readEncodedFileWithHash" ID="readEncodedFileWithHash"></a>
+<h2>readEncodedFileWithHash</h2>
+<b>readEncodedFileWithHash</b>(<i>filename</i>)
+<p>
+    Function to read a file, calculate a hash value and decode it's contents
+    into proper text.
+</p><dl>
+<dt><i>filename</i></dt>
+<dd>
+name of the file to read (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+tuple of decoded text, encoding and hash value (string, string, string)
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr /><hr />
 <a NAME="relpath" ID="relpath"></a>
 <h2>relpath</h2>
 <b>relpath</b>(<i>path, start = os.path.curdir</i>)

eric ide

mercurial