Skip to main content
View as Markdown

IGitVcsProject interface

No description yet.

public interface IGitVcsProject : IVcsProject

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Inherits: IVcsProject

Methods​

MethodReturnsDescription
FindLastRenamingRevisionbool
GetAheadCountint
GetBehindCountint
GetCurrentRevisionstring
GetIgnoredFilesIVcsFileNames
GetLocalRepoNeedsUpdatebool
GetMergeBaseRevisionstring
IsFetchUnsuccessbool
Pushint
Push2int
Resetint

FindLastRenamingRevision​

No description yet.

bool FindLastRenamingRevision(string argCurrentFileName, bool argUseRemoteHistory, out IVcsRevisionInfo argVcsRevisionInfo, out string argOldFileName);
ParameterTypePassing
argCurrentFileNamestringvalue
argUseRemoteHistoryboolvalue
argVcsRevisionInfoIVcsRevisionInfoout
argOldFileNamestringout

Returns: bool

GetAheadCount​

No description yet.

int GetAheadCount();

Returns: int

GetBehindCount​

No description yet.

int GetBehindCount();

Returns: int

GetCurrentRevision​

No description yet.

string GetCurrentRevision();

Returns: string

GetIgnoredFiles​

No description yet.

IVcsFileNames GetIgnoredFiles();

Returns: IVcsFileNames

Extension method of IGitVcsProjectHelper (using DXP;).

GetLocalRepoNeedsUpdate​

No description yet.

bool GetLocalRepoNeedsUpdate();

Returns: bool

GetMergeBaseRevision​

No description yet.

string GetMergeBaseRevision();

Returns: string

IsFetchUnsuccess​

No description yet.

bool IsFetchUnsuccess();

Returns: bool

Push​

No description yet.

int Push();

Returns: int

Push2​

No description yet.

int Push2(string argRevisionToRevertIfRejected);
ParameterTypePassing
argRevisionToRevertIfRejectedstringvalue

Returns: int

Reset​

No description yet.

int Reset(string argToRevision, bool argHard);
ParameterTypePassing
argToRevisionstringvalue
argHardboolvalue

Returns: int

Inherited members​