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(); }
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()); }