aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Transfers/Types
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-30 23:44:56 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-30 23:44:56 -0500
commiteba232fe9de343359b96ca4686c5414912d4b276 (patch)
tree3dd0962298c5608d3c473b69f8d48d872616405a /src/slskd/Transfers/Types
parent4323178f7e795e26bc3906411c6403746f2f8bb5 (diff)
downloadslskd-eba232fe9de343359b96ca4686c5414912d4b276.tar.gz
finalize batchservice
Diffstat (limited to 'src/slskd/Transfers/Types')
-rw-r--r--src/slskd/Transfers/Types/Batch.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/slskd/Transfers/Types/Batch.cs b/src/slskd/Transfers/Types/Batch.cs
index 3fe692f2..ac7025fb 100644
--- a/src/slskd/Transfers/Types/Batch.cs
+++ b/src/slskd/Transfers/Types/Batch.cs
@@ -87,27 +87,27 @@ public record Batch
public long FileSize { get; init; }
/// <summary>
- /// Gets the timestamp at which the Batch was created.
+ /// Gets the time at which the Batch was created.
/// </summary>
public DateTime CreatedAt { get; init; } = DateTime.UtcNow;
/// <summary>
- /// Gets the optional destination directory for the files in the Batch, relative to the configured
- /// download directory.
+ /// Gets the Transfer records associated with the batch.
/// </summary>
/// <remarks>
- /// If specified, takes precedence over other configured placement rules.
+ /// Lazy loaded. If not explicitly loaded with the Batch record using Include(), the collection and
+ /// all of the (future?) statistics will be null.
/// </remarks>
- public string DestinationDirectory { get; init; }
+ public ICollection<Transfer> Transfers { get; init; } = null;
/// <summary>
- /// Gets the Transfer records associated with the batch.
+ /// Gets the optional destination directory for the files in the Batch, relative to the configured
+ /// download directory.
/// </summary>
/// <remarks>
- /// Lazy loaded. If not explicitly loaded with the Batch record using Include(), the collection and
- /// all of the (future?) statistics will be null.
+ /// If specified, takes precedence over other configured placement rules.
/// </remarks>
- public ICollection<Transfer> Transfers { get; init; } = null;
+ public string DestinationDirectory { get; init; }
/*
future: [NotMapped] properties that aggregate values from the associated Transfer records.