Why were these private in the first place?

This commit is contained in:
CreepyCrafter24 2020-03-13 19:38:59 +01:00
parent 0cc87fa5d5
commit cce1d2eeb1
1 changed files with 2 additions and 2 deletions

View File

@ -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;