diff -r 2f70ca07f0af -r 4cd7e5a8b3cf src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser.html --- a/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser.html Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsGit.GitDiffParser.html Sat Dec 23 15:40:23 2023 +0100 @@ -106,9 +106,9 @@ </p> <dl> -<dt><i>diff</i></dt> +<dt><i>diff</i> (list of str)</dt> <dd> -output of the diff command (list of string) +output of the diff command </dd> </dl> <a NAME="GitDiffParser.__generateHunkHeader" ID="GitDiffParser.__generateHunkHeader"></a> @@ -120,31 +120,37 @@ </p> <dl> -<dt><i>oldStart</i></dt> +<dt><i>oldStart</i> (int)</dt> <dd> -start line of the old part (integer) +start line of the old part </dd> -<dt><i>oldCount</i></dt> +<dt><i>oldCount</i> (int)</dt> <dd> -line count of the old part (integer) +line count of the old part </dd> -<dt><i>newStart</i></dt> +<dt><i>newStart</i> (int)</dt> <dd> -start line of the new part (integer) +start line of the new part </dd> -<dt><i>newCount</i></dt> +<dt><i>newCount</i> (int)</dt> <dd> -line count of the new part (integer) +line count of the new part </dd> -<dt><i>heading</i></dt> +<dt><i>heading</i> (str)</dt> <dd> -hunk heading (string) +hunk heading </dd> </dl> <dl> <dt>Return:</dt> <dd> -hunk header (string) +hunk header +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="GitDiffParser.__generateRange" ID="GitDiffParser.__generateRange"></a> @@ -156,19 +162,25 @@ </p> <dl> -<dt><i>start</i></dt> +<dt><i>start</i> (int)</dt> <dd> -start line (integer) +start line </dd> -<dt><i>count</i></dt> +<dt><i>count</i> (int)</dt> <dd> -line count (integer) +line count </dd> </dl> <dl> <dt>Return:</dt> <dd> -hunk header range (string) +hunk header range +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="GitDiffParser.__initHunk" ID="GitDiffParser.__initHunk"></a> @@ -181,7 +193,13 @@ <dl> <dt>Return:</dt> <dd> -hunk data structure (dictionary) +hunk data structure +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict </dd> </dl> <a NAME="GitDiffParser.__parseDiff" ID="GitDiffParser.__parseDiff"></a> @@ -208,15 +226,21 @@ </p> <dl> -<dt><i>headerRange</i></dt> +<dt><i>headerRange</i> (str)</dt> <dd> -hunk header range (string) +hunk header range </dd> </dl> <dl> <dt>Return:</dt> <dd> -tuple of hunk start and hunk length (integer, integer) +tuple of hunk start and hunk length +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, int) </dd> </dl> <a NAME="GitDiffParser.createHunkPatch" ID="GitDiffParser.createHunkPatch"></a> @@ -228,15 +252,21 @@ </p> <dl> -<dt><i>lineIndex</i></dt> +<dt><i>lineIndex</i> (int)</dt> <dd> -line number of the hunk (integer) +line number of the hunk </dd> </dl> <dl> <dt>Return:</dt> <dd> -diff lines of the patch (string) +diff lines of the patch +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="GitDiffParser.createLinesPatch" ID="GitDiffParser.createLinesPatch"></a> @@ -248,23 +278,29 @@ </p> <dl> -<dt><i>startIndex</i></dt> +<dt><i>startIndex</i> (int)</dt> <dd> -start line number (integer) +start line number </dd> -<dt><i>endIndex</i></dt> +<dt><i>endIndex</i> (int)</dt> <dd> -end line number (integer) +end line number </dd> -<dt><i>reverse</i></dt> +<dt><i>reverse</i> (bool)</dt> <dd> -flag indicating a reverse patch (boolean) +flag indicating a reverse patch </dd> </dl> <dl> <dt>Return:</dt> <dd> -diff lines of the patch (string) +diff lines of the patch +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="GitDiffParser.headerLength" ID="GitDiffParser.headerLength"></a> @@ -277,7 +313,13 @@ <dl> <dt>Return:</dt> <dd> -length of the header (integer) +length of the header +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +int </dd> </dl> <div align="right"><a href="#top">Up</a></div>