1 write to Archive
Microsoft.DotNet.Helix.JobSender (1)
Payloads\ArchivePayload.cs (1)
21
Archive
= new FileInfo(pathToArchive);
7 references to Archive
Microsoft.DotNet.Helix.JobSender (7)
Payloads\ArchivePayload.cs (7)
22
if (!
Archive
.Exists)
32
Archive
.FullName));
36
var alreadyUploadedFile = new FileInfo($"{
Archive
.FullName}.payload");
39
log?.Invoke($"Using previously uploaded payload for {
Archive
.FullName}");
43
using (var stream = File.OpenRead(
Archive
.FullName))
45
Uri zipUri = await payloadContainer.UploadFileAsync(stream, $"{
Archive
.Name}", log, cancellationToken);
54
(alreadyUploadedFile.LastWriteTimeUtc >
Archive
.LastWriteTimeUtc); // File hasn't changed since it was uploaded