aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-10 13:14:45 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-10 13:14:45 -0500
commitb0420bd49b64995671b80deeef54cffece0a4d41 (patch)
treeafc83b85598d92eb9284ed4946c449669980e9d3 /src/slskd
parent3d657ed87cfdab4089c72d9e6532d9b2cc83aa4e (diff)
downloadslskd-b0420bd49b64995671b80deeef54cffece0a4d41.tar.gz
add StorageType
Diffstat (limited to 'src/slskd')
-rw-r--r--src/slskd/Core/Types/StorageType.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/slskd/Core/Types/StorageType.cs b/src/slskd/Core/Types/StorageType.cs
new file mode 100644
index 00000000..63b19899
--- /dev/null
+++ b/src/slskd/Core/Types/StorageType.cs
@@ -0,0 +1,35 @@
+// <copyright file="StorageType.cs" company="slskd Team">
+// 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/.
+// </copyright>
+
+namespace slskd
+{
+ /// <summary>
+ /// Storage type.
+ /// </summary>
+ public enum StorageType
+ {
+ /// <summary>
+ /// Stored in memory.
+ /// </summary>
+ Memory = 0,
+
+ /// <summary>
+ /// Stored on disk.
+ /// </summary>
+ Disk = 1,
+ }
+}