Example #1
0
        public BlamePositionModel(string filePath)
        {
            if (filePath == null)
            {
                throw new ArgumentNullException("filePath");
            }

            m_filePath = filePath;
            GitWrapper.SplitRepositoryPath(filePath, out m_repoPath, out m_fileName);
        }
 public BlamePositionModel(string filePath)
 {
     FilePath = filePath ?? throw new ArgumentNullException(nameof(filePath));
     GitWrapper.SplitRepositoryPath(filePath, out m_repoPath, out m_fileName);
 }