예제 #1
0
        public Commits GetCommits()
        {
            var commits = new Commits();

            commits._commitLog = repository.Commits;

            return(commits);
        }
예제 #2
0
        public Commits GetCommitsByPath(string path)
        {
            var commits = new Commits();

            commits._commitLog = (IQueryableCommitLog)repository.Commits.QueryBy(path);

            return(commits);
        }
예제 #3
0
        public Commits GetCommits(object IncludeReachableFrom, object ExcludeReachableFrom)
        {
            var commits = new Commits();


            var filter = new CommitFilter();

            filter.IncludeReachableFrom = IncludeReachableFrom;
            filter.ExcludeReachableFrom = ExcludeReachableFrom;

            commits._commitLog = (IQueryableCommitLog)repository.Commits.QueryBy(filter);

            return(commits);
        }