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

Function getByKeyring

src/controller/sync.controller.js:254–257  ·  view source on GitHub ↗
(keyringId)

Source from the content-addressed store, hash-verified

252}
253
254export async function getByKeyring(keyringId) {
255 const syncController = await getAllControllerByType('syncHandler');
256 return syncController.filter(obj => obj.state.keyringId === keyringId)[0];
257}
258
259/**
260 * @param {Object} options

Callers 1

triggerSyncFunction · 0.85

Calls 1

getAllControllerByTypeFunction · 0.90

Tested by

no test coverage detected