MCPcopy
hub / github.com/pyload/pyload / sync

Method sync

module/PyPackage.py:66–68  ·  view source on GitHub ↗

sync with db

(self)

Source from the content-addressed store, hash-verified

64 return self.m.getPackageData(self.id)["links"]
65
66 def sync(self):
67 """sync with db"""
68 self.m.updatePackage(self)
69
70 def release(self):
71 """sync and delete from cache"""

Callers 1

releaseMethod · 0.95

Calls 1

updatePackageMethod · 0.45

Tested by

no test coverage detected