C# Class SimpleGitVersion.TagCommit

Inheritance: IFullTagCommit
Datei anzeigen Open project: SimpleGitVersion/SGV-Net Class Usage Examples

Public Methods

Method Description
AddCollectedTag ( ReleaseTagVersion t ) : void
AddSameTree ( TagCommit otherCommit ) : void
AddSameTreeFromHead ( TagCommit other ) : void
CloseCollect ( StringBuilder errors ) : bool

Computes the final release tag: +invalid hides any other version tags. If multiple versions exist on this commit, an error is raised.

GetContentTagCommits ( bool withThis = false ) : IEnumerable

Gets all IFullTagCommit with the same content.

TagCommit ( Commit c, ReleaseTagVersion first ) : System

Private Methods

Method Description
DoCloseCollect ( StringBuilder errors ) : ReleaseTagVersion

Method Details

AddCollectedTag() public method

public AddCollectedTag ( ReleaseTagVersion t ) : void
t ReleaseTagVersion
return void

AddSameTree() public method

public AddSameTree ( TagCommit otherCommit ) : void
otherCommit TagCommit
return void

AddSameTreeFromHead() public method

public AddSameTreeFromHead ( TagCommit other ) : void
other TagCommit
return void

CloseCollect() public method

Computes the final release tag: +invalid hides any other version tags. If multiple versions exist on this commit, an error is raised.
public CloseCollect ( StringBuilder errors ) : bool
errors StringBuilder Errors collector.
return bool

GetContentTagCommits() public method

Gets all IFullTagCommit with the same content.
public GetContentTagCommits ( bool withThis = false ) : IEnumerable
withThis bool True to include this commit into the list.
return IEnumerable

TagCommit() public method

public TagCommit ( Commit c, ReleaseTagVersion first ) : System
c LibGit2Sharp.Commit
first ReleaseTagVersion
return System