Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Alpha features are disabled by default. They do not guarantee any backwards compatibility and may change in arbitrary ways between restic versions. Alpha state = "alpha" // Beta features are enabled by default. They may still change, but incompatible changes should be avoided. Beta state = "beta" // Stable features are always enabled Stable state = "stable" // Deprecated features are always disabled Deprecated state = "deprecated" )
Variables ¶
View Source
var Flag = New()
Flag is named such that checking for a feature uses `feature.Flag.Enabled(feature.ExampleFeature)`.
Functions ¶
Types ¶
type FlagName ¶
type FlagName string
const ( BackendErrorRedesign FlagName = "backend-error-redesign" DeprecateLegacyIndex FlagName = "deprecate-legacy-index" DeprecateS3LegacyLayout FlagName = "deprecate-s3-legacy-layout" DeviceIDForHardlinks FlagName = "device-id-for-hardlinks" ExplicitS3AnonymousAuth FlagName = "explicit-s3-anonymous-auth" SafeForgetKeepTags FlagName = "safe-forget-keep-tags" )
flag names are written in kebab-case
Click to show internal directories.
Click to hide internal directories.