mirror of
https://github.com/restic/restic.git
synced 2026-10-11 20:47:12 +00:00
index: deprecate legacy index format
This commit is contained in:
1 parent
396a61a992
commit
1a8bf358f1
4 files changed
+13
-2
No files matched your search
@@ -5,11 +5,13 @@ var Flag = New()
|
||||
|
||||
// flag names are written in kebab-case
|
||||
const (
|
||||
ExampleFeature FlagName = "example-feature"
|
||||
ExampleFeature FlagName = "example-feature"
|
||||
DeprecateLegacyIndex FlagName = "deprecate-legacy-index"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Flag.SetFlags(map[FlagName]FlagDesc{
|
||||
ExampleFeature: {Type: Alpha, Description: "just for testing"},
|
||||
ExampleFeature: {Type: Alpha, Description: "just for testing"},
|
||||
DeprecateLegacyIndex: {Type: Beta, Description: "disable support for index format used by restic 0.1.0. Use `restic repair index` to update the index if necessary."},
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user