-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSurgeRelease.cs
More file actions
39 lines (34 loc) · 1.13 KB
/
SurgeRelease.cs
File metadata and controls
39 lines (34 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace Surge
{
/// <summary>
/// Information about a single release available for installation or update.
/// </summary>
public sealed class SurgeRelease
{
/// <summary>
/// Version string (semver) of this release.
/// </summary>
public string Version { get; init; } = "";
/// <summary>
/// Release channel this release belongs to.
/// </summary>
public string Channel { get; init; } = "";
/// <summary>
/// Size in bytes of the full release package.
/// </summary>
public long FullSize { get; init; }
/// <summary>
/// Size in bytes of the delta package from the previous version,
/// or 0 if no delta is available.
/// </summary>
public long DeltaSize { get; init; }
/// <summary>
/// Release notes text, if available.
/// </summary>
public string ReleaseNotes { get; init; } = "";
/// <summary>
/// Whether this is a genesis (initial) release with no prior version.
/// </summary>
public bool IsGenesis { get; init; }
}
}