Class GitTool
- Namespace
- NoeticTools.Git2SemVer.Core.Tools.Git
- Assembly
- NoeticTools.Git2SemVer.Core.dll
[RegisterTransient]
public sealed class GitTool : IGitTool, IDisposable
- Inheritance
-
GitTool
- Implements
- Inherited Members
Constructors
GitTool(ITagParser)
public GitTool(ITagParser tagParser)
Parameters
tagParser
ITagParser
Properties
BranchName
The current head's branch name.
public string BranchName { get; }
Property Value
Cache
public ICommitsCache Cache { get; }
Property Value
HasLocalChanges
True if there are uncommited local changes.
public bool HasLocalChanges { get; }
Property Value
Head
public Commit Head { get; }
Property Value
RepositoryDirectory
public string RepositoryDirectory { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Get(CommitId)
public Commit Get(CommitId commitId)
Parameters
commitId
CommitId