MCPcopy Create free account
hub / github.com/pyload/pyload / store

Method store

module/plugins/Plugin.py:120–122  ·  view source on GitHub ↗

same as `setStorage`

(self, key, value)

Source from the content-addressed store, hash-verified

118 self.core.db.setStorage(self.__name__, key, value)
119
120 def store(self, key, value):
121 """ same as `setStorage` """
122 self.core.db.setStorage(self.__name__, key, value)
123
124 def getStorage(self, key=None, default=None):
125 """ Retrieves saved value or dict of all saved entries if key is None """

Callers 9

cFunction · 0.45
purr_static.jsFile · 0.45
package_ui.jsFile · 0.45
bFunction · 0.45
iFunction · 0.45

Calls 1

setStorageMethod · 0.45

Tested by

no test coverage detected