C# Class SimpleGitVersion.CommitVersionInfo

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

Private Properties

Свойство Type Description
CommitVersionInfo System
GetBaseVersions IReadOnlyList

Méthodes publiques

Méthode Description
ComputePossibleVersions ( ) : void
ToString ( ) : string

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

Private Methods

Méthode 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 méthode

public ComputePossibleVersions ( ) : void
Résultat void

ToString() public méthode

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