コード例 #1
0
 def upstore(args):
     """Update the store structure."""
     from tiddlywebplugins.hoster.instance import store_structure
     from tiddlywebplugins.instancer import Instance
     from tiddlyweb.config import config
     instance = Instance('.', config)
     instance._init_store(store_structure)
コード例 #2
0
 def update(args):
     """Update all instance_tiddlers in the current instance."""
     from tiddlywebplugins.instancer import Instance
     instance = Instance('.', config)
     instance.update_store()