IGitHistoryReader
Pennington.TranslationAudit
Reads the most recent commit affecting a tracked file. Abstracted for testability.
Methods
GetLatestCommit
#public CommitInfo GetLatestCommit(string absoluteFilePath)
Returns the latest commit touching absoluteFilePath, or null when the file is untracked or the repo is missing.
Parameters
absoluteFilePathstring
Returns
CommitInfoPennington.TranslationAudit.IGitHistoryReader
namespace Pennington.TranslationAudit;
/// Reads the most recent commit affecting a tracked file. Abstracted for testability.
public interface IGitHistoryReader
{
/// Returns the latest commit touching absoluteFilePath, or null when the file is untracked or the repo is missing.
public CommitInfo GetLatestCommit(string absoluteFilePath)
;
}