feat: add release asset upload and cleanup to SyncService
This commit is contained in:
1 parent
7b43e47a64
commit
143d813949
4 files changed
+50
-7
No files matched your search
@@ -11,4 +11,9 @@ public class ReleaseAssetDownloadService(HttpClient httpClient)
|
||||
await resource.CopyToAsync(fs, 8192);
|
||||
return filePath;
|
||||
}
|
||||
|
||||
public async Task DeleteReleaseAssetAsync(string downloadPath)
|
||||
{
|
||||
File.Delete(downloadPath);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user