Compare commits
No commits in common. "775e915cfa5a58a89eb8dd19cc5285a3d1791a9f" and "b1b24593efae15a6834930b2d7ef981983b8d27f" have entirely different histories.
775e915cfa
...
b1b24593ef
@ -40,13 +40,6 @@ namespace RedundancyFinder
|
||||
{
|
||||
try
|
||||
{
|
||||
// Check if the directory is hidden and skip it if true
|
||||
var attributes = File.GetAttributes(directoryPath);
|
||||
if ((attributes & FileAttributes.Hidden) == FileAttributes.Hidden)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Process files in the current directory
|
||||
foreach (var file in Directory.GetFiles(directoryPath))
|
||||
{
|
||||
|
||||
@ -153,11 +153,11 @@ namespace RedundancyFinderCLI
|
||||
{
|
||||
foreach (var redundancy in finder.Redundancies.Values)
|
||||
{
|
||||
AnsiConsole.WriteLine($"Hash: {redundancy.Hash}");
|
||||
AnsiConsole.WriteLine("Paths:");
|
||||
AnsiConsole.MarkupLine($"Hash: {redundancy.Hash}");
|
||||
AnsiConsole.MarkupLine("Paths:");
|
||||
foreach (var path in redundancy.Paths)
|
||||
{
|
||||
AnsiConsole.WriteLine(path);
|
||||
AnsiConsole.MarkupLine(path);
|
||||
}
|
||||
AnsiConsole.WriteLine();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user