From fec9b55a4ca531f2380efd360cb015ea62071b9c Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Tue, 28 Jun 2022 09:06:39 -0500 Subject: rename Group to UploadGroup --- src/slskd/Transfers/Types/Group.cs | 29 ----------------------------- src/slskd/Transfers/Types/UploadGroup.cs | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 src/slskd/Transfers/Types/Group.cs create mode 100644 src/slskd/Transfers/Types/UploadGroup.cs (limited to 'src') diff --git a/src/slskd/Transfers/Types/Group.cs b/src/slskd/Transfers/Types/Group.cs deleted file mode 100644 index c01e4f8a..00000000 --- a/src/slskd/Transfers/Types/Group.cs +++ /dev/null @@ -1,29 +0,0 @@ -// -// Copyright (c) slskd Team. All rights reserved. -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as published -// by the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see https://www.gnu.org/licenses/. -// - -namespace slskd.Transfers -{ - public sealed class Group - { - public string Name { get; set; } - public int Priority { get; set; } - public bool SlotAvailable => UsedSlots < Slots; - public int Slots { get; set; } - public QueueStrategy Strategy { get; set; } - public int UsedSlots { get; set; } - } -} diff --git a/src/slskd/Transfers/Types/UploadGroup.cs b/src/slskd/Transfers/Types/UploadGroup.cs new file mode 100644 index 00000000..5696b0f1 --- /dev/null +++ b/src/slskd/Transfers/Types/UploadGroup.cs @@ -0,0 +1,29 @@ +// +// Copyright (c) slskd Team. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see https://www.gnu.org/licenses/. +// + +namespace slskd.Transfers +{ + public sealed class UploadGroup + { + public string Name { get; set; } + public int Priority { get; set; } + public bool SlotAvailable => UsedSlots < Slots; + public int Slots { get; set; } + public QueueStrategy Strategy { get; set; } + public int UsedSlots { get; set; } + } +} -- cgit v1.2.3