C#: Parallelize restore logic of missing packages

This commit is contained in:
Tamas Vajk
2023-09-18 12:32:44 +02:00
parent fc3bc95147
commit dfd7f1e78b
5 changed files with 59 additions and 36 deletions

View File

@@ -6,8 +6,8 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
{
bool RestoreProjectToDirectory(string project, string directory, out string stdout, string? pathToNugetConfig = null);
bool RestoreSolutionToDirectory(string solutionFile, string packageDirectory, out IEnumerable<string> projects);
bool New(string folder);
bool AddPackage(string folder, string package);
bool New(string folder, out string stdout);
bool AddPackage(string folder, string package, out string stdout);
IList<string> GetListedRuntimes();
IList<string> GetListedSdks();
bool Exec(string execArgs);