MCPcopy Index your code
hub / github.com/gotify/server / SetStorage

Method SetStorage

plugin/testing/mock/mock.go:105–107  ·  view source on GitHub ↗

SetStorage sets current storage

(b []byte)

Source from the content-addressed store, hash-verified

103
104// SetStorage sets current storage
105func (c *PluginInstance) SetStorage(b []byte) error {
106 return c.storageHandler.Save(b)
107}
108
109// GetStorage sets current storage
110func (c *PluginInstance) GetStorage() ([]byte, error) {

Callers 1

TestStorageMethod · 0.80

Implementers 2

PluginV1Instanceplugin/compat/v1.go
PluginInstanceplugin/testing/mock/mock.go

Calls 1

SaveMethod · 0.65

Tested by 1

TestStorageMethod · 0.64