From ffc2997b0f6dfc8b913b320db44ede021ee770e3 Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Sun, 17 Feb 2019 18:31:10 -0800 Subject: [PATCH] Remove unused Options properties. These collection of options are not being used, and have not been maintained. --- Duplicati/Library/Main/Options.cs | 162 ------------------------------ 1 file changed, 162 deletions(-) diff --git a/Duplicati/Library/Main/Options.cs b/Duplicati/Library/Main/Options.cs index 1e44f54a1..3ec95f4ca 100644 --- a/Duplicati/Library/Main/Options.cs +++ b/Duplicati/Library/Main/Options.cs @@ -235,168 +235,6 @@ namespace Duplicati.Library.Main get { return new string[] { "auth-password", "auth-username" }; } } - - /// - /// Gets all commands that effect a backup - /// - 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" - }; - } - } - - /// - /// Gets all options that affect a connection - /// - 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" - }; - } - } - - /// - /// Gets all options that affect a filename parsing - /// - public static string[] FilenameOptions - { - get - { - return new string[] { - "prefix", - "tempdir" - }; - } - } - - /// - /// Gets all options that can be used for debugging - /// - 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" - }; - } - } - - /// - /// Gets all options that affect module loading - /// - public static string[] ModuleOptions - { - get - { - return new string[] { - "encryption-module", - "compression-module", - "enable-module", - "disable-module", - "no-encryption" - }; - } - } - - /// - /// Gets all options that affect encryption - /// - public static string[] EncryptionOptions - { - get - { - return new string[] { - "encryption-module", - "passphrase", - "no-encryption" - }; - } - } - - /// - /// Gets all options that affect cleanup commands - /// - public static string[] CleanupOptions - { - get - { - return new string[] { - "dry-run", - "allow-full-removal" - }; - } - } - - /// - /// Gets all options that affect restore commands - /// - 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" - }; - } - } - /// /// A default backup name ///