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

Method getKeyring

src/controller/api.controller.js:33–40  ·  view source on GitHub ↗
({keyringId})

Source from the content-addressed store, hash-verified

31 }
32
33 async getKeyring({keyringId}) {
34 const keyring = await keyringById(keyringId);
35 if (keyring) {
36 const attr = await keyring.getAttributes();
37 setActiveKeyringId(keyringId);
38 return {revision: attr.logo_revision};
39 }
40 }
41
42 async createKeyring({keyringId}) {
43 const keyring = await createKeyring(keyringId);

Callers

nothing calls this directly

Calls 2

setActiveKeyringIdFunction · 0.90
getAttributesMethod · 0.80

Tested by

no test coverage detected