9 references to DestinationPath
Microsoft.DotNet.Arcade.Sdk (9)
src\DownloadFile.cs (9)
61if (File.Exists(DestinationPath) && !Overwrite) 71Directory.CreateDirectory(Path.GetDirectoryName(DestinationPath)); 109Log.LogMessage($"Copying '{filePath}' to '{DestinationPath}'"); 110File.Copy(filePath, DestinationPath, overwrite: true); 118Log.LogMessage($"Downloading '{uri}' to '{DestinationPath}'"); 131Log.LogMessage($"Download of '{uri}' to '{DestinationPath}' has been cancelled."); 162using (var outStream = File.Create(DestinationPath)) 181Log.LogMessage($"Failed to download '{uri}' to '{DestinationPath}': {e.Message}"); 185Log.LogMessage($"Retrying download of '{uri}' to '{DestinationPath}' due to failure: '{e.Message}' ({attempt}/{Retries})");