public static DateTime GitQueryLastCommitDate( this ICakeContext context, GitToolSettings toolSettings, GitQueryLastCommitDateConfig config = null ) { var runner = new GitQueryLastCommitDateRunner(context, toolSettings); return(runner.Run(config)); }
public static DateTime GitQueryLastCommitDate( this ICakeContext context, DirectoryPath repoRoot, GitQueryLastCommitDateConfig config = null ) { var toolSettings = new GitToolSettings { WorkingDirectory = repoRoot }; return(GitQueryLastCommitDate(context, toolSettings, config)); }