Esempio n. 1
0
        private IList <DiffEntry> UpdateFollowFilter(IList <DiffEntry> files)
        {
            string oldPath = ((FollowFilter)pathFilter).GetPath();

            foreach (DiffEntry ent in files)
            {
                if (IsRename(ent) && ent.GetNewPath().Equals(oldPath))
                {
                    pathFilter = FollowFilter.Create(ent.GetOldPath());
                    return(Sharpen.Collections.SingletonList(ent));
                }
            }
            return(Sharpen.Collections.EmptyList <DiffEntry>());
        }
#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();
    }
Esempio n. 3
0
#pragma warning disable 618 // Type or member is obsolete
    public IEnumerable <LogEntry> QueryBy(string path, FollowFilter filter)
    {
        throw new NotImplementedException();
    }