Skip to content

Commit

Permalink
Added inline documentation to new methods of the FrmCleaner class.
Browse files Browse the repository at this point in the history
  • Loading branch information
xvitaly committed Aug 31, 2024
1 parent 0f44fb7 commit c4a4f9d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/srcrepair/FrmCleaner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ protected override void ScaleControl(SizeF ScalingFactor, BoundsSpecified Contro
}
}

/// <summary>
/// Finds files in the specified directory that match the specified file mask
/// and adds them to the list.
/// </summary>
/// <param name="CleanDir">Directory for cleanup.</param>
/// <param name="CleanMask">File mask.</param>
private void AddFilesToList(string CleanDir, string CleanMask)
{
DirectoryInfo DInfo = new DirectoryInfo(CleanDir);
Expand All @@ -143,6 +149,12 @@ private void AddFilesToList(string CleanDir, string CleanMask)
}
}

/// <summary>
/// Finds subdirectories in the specified directory and recursively tries to find
/// files in it that match the specified file mask and add them to the list.
/// </summary>
/// <param name="CleanDir">Directory for cleanup.</param>
/// <param name="CleanMask">File mask.</param>
private void AddDirectoriesToList(string CleanDir, string CleanMask)
{
DirectoryInfo DInfo = new DirectoryInfo(CleanDir);
Expand Down

0 comments on commit c4a4f9d

Please sign in to comment.