MCPcopy Index your code
hub / github.com/cloudreve/cloudreve / WithRequiredDbVersion

Function WithRequiredDbVersion

application/dependency/options.go:87–91  ·  view source on GitHub ↗

WithRequiredDbVersion Set the required db version.

(c string)

Source from the content-addressed store, hash-verified

85
86// WithRequiredDbVersion Set the required db version.
87func WithRequiredDbVersion(c string) Option {
88 return optionFunc(func(o *dependency) {
89 o.requiredDbVersion = c
90 })
91}
92
93// WithKV Set the default KV store driverold
94func WithKV(c cache.Driver) Option {

Callers 2

server.goFile · 0.92
migrate.goFile · 0.92

Calls 1

optionFuncFuncType · 0.70

Tested by

no test coverage detected