C# Class SimpleGitVersion.CommitVersionInfo

Final object describing a commit. Release information can easily be generated from this.
Datei anzeigen Open project: SimpleGitVersion/SGV-Net Class Usage Examples

Private Properties

Property Type Description
CommitVersionInfo System
GetBaseVersions IReadOnlyList

Public Methods

Method Description
ComputePossibleVersions ( ) : void
ToString ( ) : string

Overridden to describe the content, previous and max previous tags if they exist.

Private Methods

Method Description
CommitVersionInfo ( TagCollector tagCollector, string commitSha, IFullTagCommit thisCommit, IFullTagCommit contentCommit, CommitVersionInfo prevCommitParent, CommitVersionInfo prevMaxCommitParent ) : System
GetBaseVersions ( ) : IReadOnlyList

Returns either { PreviousTag, PreviousMaxTag }, { PreviousTag }, { PreviousMaxTag } or { null }.

Method Details

ComputePossibleVersions() public method

public ComputePossibleVersions ( ) : void
return void

ToString() public method

Overridden to describe the content, previous and max previous tags if they exist.
public ToString ( ) : string
return string