MCPcopy
hub / github.com/gotify/server / SetStorageHandler

Method SetStorageHandler

plugin/compat/v1.go:118–122  ·  view source on GitHub ↗

SetStorageHandler see papiv1.Storager.

(handler StorageHandler)

Source from the content-addressed store, hash-verified

116
117// SetStorageHandler see papiv1.Storager.
118func (c *PluginV1Instance) SetStorageHandler(handler StorageHandler) {
119 if c.storager != nil {
120 c.storager.SetStorageHandler(&PluginV1StorageHandler{WrapperHandler: handler})
121 }
122}
123
124// Supports returns a slice of capabilities the plugin instance provides.
125func (c *PluginV1Instance) Supports() Capabilities {

Callers

nothing calls this directly

Calls 1

SetStorageHandlerMethod · 0.65

Tested by

no test coverage detected