Skip to content

Commit

Permalink
Switched CompressDirectory() public static method of the FileManager …
Browse files Browse the repository at this point in the history
…to FindFiles() use.
  • Loading branch information
xvitaly committed Sep 6, 2024
1 parent 71cec09 commit b9c21b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/FileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public static bool CompressFiles(List<string> Files, string ArchiveName)
/// <returns>Return True if archive was created successfully.</returns>
public static bool CompressDirectory(string DirectoryPath, string ArchiveName)
{
return CompressFiles(ExpandFileList(new List<string> { Path.Combine(DirectoryPath, "*.*") }, true), ArchiveName);
return CompressFiles(FindFiles(DirectoryPath), ArchiveName);
}

/// <summary>
Expand Down

0 comments on commit b9c21b2

Please sign in to comment.