From cce1d2eeb1017c47627bbe4241728b8d9a6eaa4d Mon Sep 17 00:00:00 2001 From: CreepyCrafter24 <33260128+CreepyCrafter24@users.noreply.github.com> Date: Fri, 13 Mar 2020 19:38:59 +0100 Subject: [PATCH] Why were these private in the first place? --- Misc/GenericExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/GenericExtensions.cs b/Misc/GenericExtensions.cs index f8af5e7..d2e67f8 100644 --- a/Misc/GenericExtensions.cs +++ b/Misc/GenericExtensions.cs @@ -69,7 +69,7 @@ namespace CC_Functions.Misc public static long GetSize(this DirectoryInfo directory) => IO.GetDirectorySize(directory.FullName); - private static ZipArchiveEntry AddDirectory(this ZipArchive archive, string folderPath, string entryName, + public static ZipArchiveEntry AddDirectory(this ZipArchive archive, string folderPath, string entryName, string[] ignoredExtensions, string[] ignoredPaths) { entryName = entryName.TrimEnd('/'); @@ -87,7 +87,7 @@ namespace CC_Functions.Misc return result; } - private static Uri Unshorten(this Uri self) + public static Uri Unshorten(this Uri self) { HttpWebRequest req = (HttpWebRequest) WebRequest.Create(self); req.AllowAutoRedirect = true;