--- a/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,53 +7,50 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser</h1> - <p> Module implementing a class to store and parse diff output. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#GitDiffParser">GitDiffParser</a></td> <td>Class implementing a class to store and parse diff output.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="GitDiffParser" ID="GitDiffParser"></a> <h2>GitDiffParser</h2> - <p> Class implementing a class to store and parse diff output. </p> + <h3>Derived from</h3> None <h3>Class Attributes</h3> - <table> <tr><td>HunkHeaderRegexp</td></tr> </table> + <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#GitDiffParser.__init__">GitDiffParser</a></td> <td>Constructor</td> @@ -91,19 +88,20 @@ <td>Public method to get the header length.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="GitDiffParser.__init__" ID="GitDiffParser.__init__"></a> <h4>GitDiffParser (Constructor)</h4> <b>GitDiffParser</b>(<i>diff</i>) - <p> Constructor </p> + <dl> <dt><i>diff</i> (list of str)</dt> @@ -114,10 +112,10 @@ <a NAME="GitDiffParser.__generateHunkHeader" ID="GitDiffParser.__generateHunkHeader"></a> <h4>GitDiffParser.__generateHunkHeader</h4> <b>__generateHunkHeader</b>(<i>oldStart, oldCount, newStart, newCount, heading=os.linesep</i>) - <p> Private method to generate a hunk header line. </p> + <dl> <dt><i>oldStart</i> (int)</dt> @@ -156,10 +154,10 @@ <a NAME="GitDiffParser.__generateRange" ID="GitDiffParser.__generateRange"></a> <h4>GitDiffParser.__generateRange</h4> <b>__generateRange</b>(<i>start, count</i>) - <p> Private method to generate a hunk header range. </p> + <dl> <dt><i>start</i> (int)</dt> @@ -186,10 +184,10 @@ <a NAME="GitDiffParser.__initHunk" ID="GitDiffParser.__initHunk"></a> <h4>GitDiffParser.__initHunk</h4> <b>__initHunk</b>(<i></i>) - <p> Private method to initialize a hunk data structure. </p> + <dl> <dt>Return:</dt> <dd> @@ -205,10 +203,10 @@ <a NAME="GitDiffParser.__parseDiff" ID="GitDiffParser.__parseDiff"></a> <h4>GitDiffParser.__parseDiff</h4> <b>__parseDiff</b>(<i></i>) - <p> Private method to parse the diff output. </p> + <dl> <dt>Raises <b>AssertionError</b>:</dt> @@ -220,10 +218,10 @@ <a NAME="GitDiffParser.__parseRange" ID="GitDiffParser.__parseRange"></a> <h4>GitDiffParser.__parseRange</h4> <b>__parseRange</b>(<i>headerRange</i>) - <p> Private method to parse the hunk header range part. </p> + <dl> <dt><i>headerRange</i> (str)</dt> @@ -246,10 +244,10 @@ <a NAME="GitDiffParser.createHunkPatch" ID="GitDiffParser.createHunkPatch"></a> <h4>GitDiffParser.createHunkPatch</h4> <b>createHunkPatch</b>(<i>lineIndex</i>) - <p> Public method to create a hunk based patch. </p> + <dl> <dt><i>lineIndex</i> (int)</dt> @@ -272,10 +270,10 @@ <a NAME="GitDiffParser.createLinesPatch" ID="GitDiffParser.createLinesPatch"></a> <h4>GitDiffParser.createLinesPatch</h4> <b>createLinesPatch</b>(<i>startIndex, endIndex, reverse=False</i>) - <p> Public method to create a selected lines based patch. </p> + <dl> <dt><i>startIndex</i> (int)</dt> @@ -306,10 +304,10 @@ <a NAME="GitDiffParser.headerLength" ID="GitDiffParser.headerLength"></a> <h4>GitDiffParser.headerLength</h4> <b>headerLength</b>(<i></i>) - <p> Public method to get the header length. </p> + <dl> <dt>Return:</dt> <dd> @@ -324,4 +322,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>