src/eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectHelper.html

Sun, 01 Dec 2024 18:17:51 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 01 Dec 2024 18:17:51 +0100
branch
eric7
changeset 11068
15f0385e0471
parent 10479
856476537696
permissions
-rw-r--r--

Mercurial Interface
- Moved `purge` and `shelve` extensions to the `Other Functions` menu because they are builtin functions.

<!DOCTYPE html>
<html><head>
<title>eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectHelper</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.ProjectHelper</h1>
<p>
Module implementing the largefiles extension project helper.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#LargefilesProjectHelper">LargefilesProjectHelper</a></td>
<td>Class implementing the largefiles extension project helper.</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="LargefilesProjectHelper" ID="LargefilesProjectHelper"></a>
<h2>LargefilesProjectHelper</h2>
<p>
    Class implementing the largefiles extension project helper.
</p>

<h3>Derived from</h3>
HgExtensionProjectHelper
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#LargefilesProjectHelper.__init__">LargefilesProjectHelper</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.__hgLfPull">__hgLfPull</a></td>
<td>Private slot to pull missing large files into the local repository.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.__hgLfSummary">__hgLfSummary</a></td>
<td>Private slot to show a working directory summary.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.__hgLfVerify">__hgLfVerify</a></td>
<td>Private slot to verify large files integrity.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.__hgLfconvert">__hgLfconvert</a></td>
<td>Private slot to convert the repository format of the current project.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.initActions">initActions</a></td>
<td>Public method to generate the action objects.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.initMenu">initMenu</a></td>
<td>Public method to generate the extension menu.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.menuTitle">menuTitle</a></td>
<td>Public method to get the menu title.</td>
</tr>
<tr>
<td><a href="#LargefilesProjectHelper.shutdown">shutdown</a></td>
<td>Public method to perform shutdown actions.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="LargefilesProjectHelper.__init__" ID="LargefilesProjectHelper.__init__"></a>
<h4>LargefilesProjectHelper (Constructor)</h4>
<b>LargefilesProjectHelper</b>(<i></i>)
<p>
        Constructor
</p>

<a NAME="LargefilesProjectHelper.__hgLfPull" ID="LargefilesProjectHelper.__hgLfPull"></a>
<h4>LargefilesProjectHelper.__hgLfPull</h4>
<b>__hgLfPull</b>(<i></i>)
<p>
        Private slot to pull missing large files into the local repository.
</p>

<a NAME="LargefilesProjectHelper.__hgLfSummary" ID="LargefilesProjectHelper.__hgLfSummary"></a>
<h4>LargefilesProjectHelper.__hgLfSummary</h4>
<b>__hgLfSummary</b>(<i></i>)
<p>
        Private slot to show a working directory summary.
</p>

<a NAME="LargefilesProjectHelper.__hgLfVerify" ID="LargefilesProjectHelper.__hgLfVerify"></a>
<h4>LargefilesProjectHelper.__hgLfVerify</h4>
<b>__hgLfVerify</b>(<i>mode</i>)
<p>
        Private slot to verify large files integrity.
</p>

<dl>

<dt><i>mode</i> (str)</dt>
<dd>
verify mode (one of 'large', 'lfa' or 'lfc')
</dd>
</dl>
<dl>

<dt>Raises <b>ValueError</b>:</dt>
<dd>
raised to indicate a bad value for the 'mode' parameter.
</dd>
</dl>
<a NAME="LargefilesProjectHelper.__hgLfconvert" ID="LargefilesProjectHelper.__hgLfconvert"></a>
<h4>LargefilesProjectHelper.__hgLfconvert</h4>
<b>__hgLfconvert</b>(<i>direction</i>)
<p>
        Private slot to convert the repository format of the current project.
</p>

<dl>

<dt><i>direction</i> (str)</dt>
<dd>
direction of the conversion (one of 'largefiles' or 'normal')
</dd>
</dl>
<dl>

<dt>Raises <b>ValueError</b>:</dt>
<dd>
raised to indicate a bad value for the
            'direction' parameter.
</dd>
</dl>
<a NAME="LargefilesProjectHelper.initActions" ID="LargefilesProjectHelper.initActions"></a>
<h4>LargefilesProjectHelper.initActions</h4>
<b>initActions</b>(<i></i>)
<p>
        Public method to generate the action objects.
</p>

<a NAME="LargefilesProjectHelper.initMenu" ID="LargefilesProjectHelper.initMenu"></a>
<h4>LargefilesProjectHelper.initMenu</h4>
<b>initMenu</b>(<i>mainMenu</i>)
<p>
        Public method to generate the extension menu.
</p>

<dl>

<dt><i>mainMenu</i> (QMenu)</dt>
<dd>
reference to the main menu
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
populated menu
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
QMenu
</dd>
</dl>
<a NAME="LargefilesProjectHelper.menuTitle" ID="LargefilesProjectHelper.menuTitle"></a>
<h4>LargefilesProjectHelper.menuTitle</h4>
<b>menuTitle</b>(<i></i>)
<p>
        Public method to get the menu title.
</p>

<dl>
<dt>Return:</dt>
<dd>
title of the menu
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
str
</dd>
</dl>
<a NAME="LargefilesProjectHelper.shutdown" ID="LargefilesProjectHelper.shutdown"></a>
<h4>LargefilesProjectHelper.shutdown</h4>
<b>shutdown</b>(<i></i>)
<p>
        Public method to perform shutdown actions.
</p>
<p>
        Note: Derived class may implement this method if needed.
</p>

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial