remove unused variables

This commit is contained in:
AustrianToast 2023-06-06 21:24:36 +02:00
parent 205ef71dcd
commit 332ed62ca3

View File

@ -36,10 +36,6 @@ public class PacserverUtils {
private static List<String> NewerPackagesAndDatabases = new List<String>(); private static List<String> NewerPackagesAndDatabases = new List<String>();
public static async void TransferPacmanCache() { public static async void TransferPacmanCache() {
String sourceDir = pacmanCacheDirectory;
String destinationDir = "http://192.160.0.69:12000/upload/";
NewerPackagesAndDatabases.Add("tree-2.1.1-1-x86_64.pkg.tar.zst");
HttpClient client = new HttpClient(); HttpClient client = new HttpClient();
HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "http://192.168.0.69:12000/upload?path=/"); HttpRequestMessage request = new HttpRequestMessage(HttpMethod.Post, "http://192.168.0.69:12000/upload?path=/");
MultipartFormDataContent content = new MultipartFormDataContent(); MultipartFormDataContent content = new MultipartFormDataContent();