public static List<DiffResultSpan> CompareTextFiles(string source, string destination, DiffEngineLevel level)
 {
     var inst = new DiffEngine();
     inst._level = level;
     var src = new DiffList_TextFile(source);
     var dst = new DiffList_TextFile(destination);
     inst.ProcessDiff(src, dst);
     return inst.DiffReport();
 }
Example #2
0
        public static List <DiffResultSpan> CompareTextFiles(string source, string destination, DiffEngineLevel level)
        {
            var inst = new DiffEngine();

            inst._level = level;
            var src = new DiffList_TextFile(source);
            var dst = new DiffList_TextFile(destination);

            inst.ProcessDiff(src, dst);
            return(inst.DiffReport());
        }