Remove unused Options properties.

These collection of options are not being used, and have not been
maintained.
This commit is contained in:
Kenneth Hsu
2019-02-17 18:43:31 -08:00
parent 57c5170aff
commit ffc2997b0f
-162
View File
@@ -235,168 +235,6 @@ namespace Duplicati.Library.Main
get { return new string[] { "auth-password", "auth-username" }; }
}
/// <summary>
/// Gets all commands that effect a backup
/// </summary>
public static string[] BackupOptions
{
get
{
return new string[] {
"dblock-size",
"disable-autocreate-folder",
"disable-filetime-check",
"check-filetime-only",
"disable-time-tolerance",
"allow-missing-source",
"skip-files-larger-than",
"upload-unchanged-backups",
"list-verify-uploads",
"control-files",
"snapshot-policy",
"vss-exclude-writers",
"vss-use-mapping",
"usn-policy",
"hyperv-backup-vm",
"symlink-policy",
"hardlink-policy",
"exclude-files-attributes",
"compression-extension-file",
"full-remote-verification",
"disable-synthetic-filelist",
"disable-file-scanner",
"disable-on-battery"
};
}
}
/// <summary>
/// Gets all options that affect a connection
/// </summary>
public static string[] ConnectionOptions
{
get
{
return new string[] {
"thread-priority",
"number-of-retries",
"retry-delay",
"synchronous-upload",
"asynchronous-upload-limit",
"asynchronous-upload-folder",
"disable-streaming-transfer",
"max-upload-pr-second",
"max-download-pr-second",
"no-connection-reuse",
"allow-sleep",
"use-background-io-priority"
};
}
}
/// <summary>
/// Gets all options that affect a filename parsing
/// </summary>
public static string[] FilenameOptions
{
get
{
return new string[] {
"prefix",
"tempdir"
};
}
}
/// <summary>
/// Gets all options that can be used for debugging
/// </summary>
public static string[] DebugOptions
{
get
{
return new string[] {
"debug-output",
"debug-retry-errors",
"log-file",
"log-file-log-level",
"log-file-log-filter",
"console-log-level",
"console-log-filter",
"profile-all-database-queries"
};
}
}
/// <summary>
/// Gets all options that affect module loading
/// </summary>
public static string[] ModuleOptions
{
get
{
return new string[] {
"encryption-module",
"compression-module",
"enable-module",
"disable-module",
"no-encryption"
};
}
}
/// <summary>
/// Gets all options that affect encryption
/// </summary>
public static string[] EncryptionOptions
{
get
{
return new string[] {
"encryption-module",
"passphrase",
"no-encryption"
};
}
}
/// <summary>
/// Gets all options that affect cleanup commands
/// </summary>
public static string[] CleanupOptions
{
get
{
return new string[] {
"dry-run",
"allow-full-removal"
};
}
}
/// <summary>
/// Gets all options that affect restore commands
/// </summary>
public static string[] RestoreOptions
{
get
{
return new string[] {
"skip-file-hash-checks",
"dont-read-manifests",
"restore-path",
"time",
"version",
"allow-passphrase-change",
"no-local-db",
"no-local-blocks",
"full-block-verification",
"dont-compress-restore-paths"
};
}
}
/// <summary>
/// A default backup name
/// </summary>