C2026-041-invisible-position-changes-as-differences
This commit is contained in:
@@ -73,7 +73,6 @@ namespace Baseline
|
|||||||
public IgnoreLines MyIgnore { get; set; } = new IgnoreLines();
|
public IgnoreLines MyIgnore { get; set; } = new IgnoreLines();
|
||||||
private LastWas myLast = LastWas.Search;
|
private LastWas myLast = LastWas.Search;
|
||||||
private Settings MySettings;
|
private Settings MySettings;
|
||||||
//public bool TruncatedDataFg { get; set; } = false;
|
|
||||||
public string MyStatus
|
public string MyStatus
|
||||||
{
|
{
|
||||||
get { return tsslStatus.Text; }
|
get { return tsslStatus.Text; }
|
||||||
@@ -856,7 +855,7 @@ namespace Baseline
|
|||||||
DirectoryInfo di1 = new DirectoryInfo(path1);
|
DirectoryInfo di1 = new DirectoryInfo(path1);
|
||||||
DirectoryInfo di2 = new DirectoryInfo(path2);
|
DirectoryInfo di2 = new DirectoryInfo(path2);
|
||||||
_FileName = fileName;
|
_FileName = fileName;
|
||||||
FillByCompare(di1, di2, fileName, myIgnore, TruncatedDataFg, false);
|
FillByCompare(di1, di2, fileName, myIgnore, TruncatedDataFg);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Fill for a search
|
/// Fill for a search
|
||||||
@@ -963,13 +962,13 @@ namespace Baseline
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
private void FillByCompare(DirectoryInfo di1, DirectoryInfo di2, string fileName, IgnoreLines myIgnore, bool isTruncatedChecked = false, bool foundFileFg = false)
|
private void FillByCompare(DirectoryInfo di1, DirectoryInfo di2, string fileName, IgnoreLines myIgnore, bool isTruncatedChecked = false)
|
||||||
{
|
{
|
||||||
foreach (DirectoryInfo diChild1 in di1.GetDirectories())
|
foreach (DirectoryInfo diChild1 in di1.GetDirectories())
|
||||||
{
|
{
|
||||||
DirectoryInfo diChild2 = new DirectoryInfo(Path.Combine(di2.FullName, diChild1.Name));
|
DirectoryInfo diChild2 = new DirectoryInfo(Path.Combine(di2.FullName, diChild1.Name));
|
||||||
if (diChild2.Exists)
|
if (diChild2.Exists)
|
||||||
FillByCompare(diChild1, diChild2, fileName,myIgnore, isTruncatedChecked, foundFileFg);// Recursively work on Sub-Folders
|
FillByCompare(diChild1, diChild2, fileName,myIgnore, isTruncatedChecked);// Recursively work on Sub-Folders
|
||||||
}
|
}
|
||||||
foreach (FileInfo fiChild1 in di1.GetFiles(fileName))
|
foreach (FileInfo fiChild1 in di1.GetFiles(fileName))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user