aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-10 17:38:37 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-10 17:38:37 -0500
commitbc362491446e4bfa94b7891ac0694d4f9b35df16 (patch)
treeffc8fdd11793d82b83077f074a79492620be00a9 /src
parent79649ecdc4e49a01de85d099f449662cb78f23df (diff)
downloadslskd-bc362491446e4bfa94b7891ac0694d4f9b35df16.tar.gz
add share backup, remove Filenames
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/ConnectionStrings.cs1
-rw-r--r--src/slskd/Core/Filenames.cs30
2 files changed, 1 insertions, 30 deletions
diff --git a/src/slskd/Core/ConnectionStrings.cs b/src/slskd/Core/ConnectionStrings.cs
index e5bd4f05..6afab93f 100644
--- a/src/slskd/Core/ConnectionStrings.cs
+++ b/src/slskd/Core/ConnectionStrings.cs
@@ -24,6 +24,7 @@ namespace slskd
{
public string Transfers { get; init; }
public string Shares { get; init; }
+ public string SharesBackup { get; init; }
public string Search { get; init; }
}
}
diff --git a/src/slskd/Core/Filenames.cs b/src/slskd/Core/Filenames.cs
deleted file mode 100644
index 0fc55fc5..00000000
--- a/src/slskd/Core/Filenames.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-// <copyright file="Filenames.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>
- /// Application files.
- /// </summary>
- public static class Filenames
- {
- public static readonly string TransfersDb = "transfers.db";
- public static readonly string SharesDb = "shares.db";
- public static readonly string SearchDb = "search.db";
- public static readonly string BrowseCache = "browse.cache";
- }
-}