diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-05-18 12:58:05 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-05-18 12:58:05 -0500 |
| commit | 7a44729293863b494fd929b91f349f47b8603e7c (patch) | |
| tree | 88ef217b9b468a26b7dbf65b06524f53ba708219 /src/slskd/Program.cs | |
| parent | 4efad204276f9f9e1896f25c5c7c4d7aa06b4260 (diff) | |
| download | slskd-7a44729293863b494fd929b91f349f47b8603e7c.tar.gz | |
migrations -> backups
Diffstat (limited to 'src/slskd/Program.cs')
| -rw-r--r-- | src/slskd/Program.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index 844d8a27..0537824f 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -188,9 +188,9 @@ namespace slskd public static string DataDirectory { get; private set; } = null; /// <summary> - /// Gets the path where database migration information is saved. + /// Gets the path where backups of persistent data saved. /// </summary> - public static string DataMigrationsDirectory { get; private set; } = null; + public static string DataBackupDirectory { get; private set; } = null; /// <summary> /// Gets the default fully qualified path to the configuration file. @@ -341,7 +341,7 @@ namespace slskd // derive the application directory value and defaults that are dependent upon it AppDirectory ??= DefaultAppDirectory; DataDirectory = Path.Combine(AppDirectory, "data"); - DataMigrationsDirectory = Path.Combine(DataDirectory, "migrations"); + DataBackupDirectory = Path.Combine(DataDirectory, "backups"); LogDirectory = Path.Combine(AppDirectory, "logs"); ScriptDirectory = Path.Combine(AppDirectory, "scripts"); @@ -359,7 +359,7 @@ namespace slskd { VerifyDirectory(AppDirectory, createIfMissing: true, verifyWriteable: true); VerifyDirectory(DataDirectory, createIfMissing: true, verifyWriteable: true); - VerifyDirectory(DataMigrationsDirectory, createIfMissing: true, verifyWriteable: true); + VerifyDirectory(DataBackupDirectory, createIfMissing: true, verifyWriteable: true); VerifyDirectory(ScriptDirectory, createIfMissing: true, verifyWriteable: false); VerifyDirectory(DefaultDownloadsDirectory, createIfMissing: true, verifyWriteable: true); VerifyDirectory(DefaultIncompleteDirectory, createIfMissing: true, verifyWriteable: true); |
