コード例 #1
0
 private void RunBlame(BlamePositionModel position)
 {
     if (position == null || position.RepoPath == null)
     {
         Blame.ClearBlameResult();
     }
     else
     {
         ProfileOptimization.StartProfile("Blame");
         BlameResult blame = GitWrapper.GetBlameOutput(position.RepoPath, position.FileName, position.CommitId);
         Blame.SetBlameResult(blame, position.LineNumber ?? 1);
     }
 }
コード例 #2
0
 private void RunBlame(BlamePositionModel?position)
 {
     if (position is null || position.RepoPath is null)
     {
         Blame.ClearBlameResult();
     }