MCPcopy
hub / github.com/mailvelope/mailvelope / getForAddress

Method getForAddress

src/modules/keyStore.js:48–56  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

46 }
47
48 getForAddress(email) {
49 const results = [];
50 for (let i = 0; i < this.keys.length; i++) {
51 if (emailCheck(email, this.keys[i])) {
52 results.push(this.keys[i]);
53 }
54 }
55 return results;
56 }
57
58 getForId(keyId, deep) {
59 for (let i = 0; i < this.keys.length; i++) {

Callers 3

getForAddressMethod · 0.45
getKeyByAddressMethod · 0.45

Calls 2

emailCheckFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected