MCPcopy Index your code
hub / github.com/mailvelope/mailvelope / triggerSync

Function triggerSync

src/controller/sync.controller.js:266–273  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

264 * @param {String} [options.password] - password for options.key
265 */
266export async function triggerSync(options) {
267 const syncCtrl = await getByKeyring(options.keyringId);
268 if (syncCtrl) {
269 setTimeout(() => {
270 syncCtrl.triggerSync(options);
271 }, 20);
272 }
273}

Callers 4

commitMethod · 0.90
onEditorOptionsMethod · 0.90
unlockKeyMethod · 0.90
unlockKeyMethod · 0.90

Calls 2

getByKeyringFunction · 0.85
triggerSyncMethod · 0.80

Tested by

no test coverage detected