index: deprecate legacy index format

This commit is contained in:
Michael Eischer
2024-03-09 18:20:52 +01:00
parent 396a61a992
commit 1a8bf358f1
4 changed files with 13 additions and 2 deletions

View File

@@ -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."},
})
}