private static Differences GetFileSystemDifferences() { var path1 = @"c:/files/test/project-one"; var path2 = @"c:/files/test/project-two"; IDiffChecker diffChecker = FileSystemDiffChecker.Create(); var differences = diffChecker.FindDifferencesInPathNames(path1, path2); return(differences); }
private static Differences CLIGetFileSystemDifferences() { var args = Environment.GetCommandLineArgs(); if (args.Length != 3) { Environment.Exit(1); } var path1 = args[1]; var path2 = args[2]; Console.WriteLine(path1); Console.WriteLine(path2); IDiffChecker diffChecker = FileSystemDiffChecker.Create(); var differences = diffChecker.FindDifferencesInPathNames(path1, path2); return(differences); }