Example #1
0
        /// <summary>
        /// Returns the list of commits of the repository representing the history of a file beyond renames.
        /// </summary>
        /// <param name="path">The file's path.</param>
        /// <param name="filter">The options used to control which commits will be returned.</param>
        /// <returns>A list of file history entries, ready to be enumerated.</returns>
        public IEnumerable <LogEntry> QueryBy(string path, FollowFilter filter)
        {
            Ensure.ArgumentNotNull(path, "path");
            Ensure.ArgumentNotNull(filter, "filter");

            return(new FileHistory(repo, path, new CommitFilter {
                SortBy = filter.SortBy
            }));
        }
#pragma warning disable CS0618 // Type or member is obsolete
    public IEnumerable<LogEntry> QueryBy(string path, FollowFilter filter)
#pragma warning restore CS0618 // Type or member is obsolete
    {
        throw new NotImplementedException();
    }
 public IEnumerable<LogEntry> QueryBy(string path, FollowFilter filter)
 {
     throw new NotImplementedException();
 }