MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / init

Method init

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

Source from the content-addressed store, hash-verified

31 }
32
33 async init(keyringId) {
34 this.setState({keyringId});
35 this.keyring = await getKeyringById(keyringId);
36 }
37
38 /**
39 * @param {Object} options - either undefined, force set or key and password provided

Callers 1

constructorMethod · 0.95

Calls 1

setStateMethod · 0.45

Tested by

no test coverage detected