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

Function getLastModifiedDate

src/modules/key.js:375–383  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

373 * @return {Date}
374 */
375export function getLastModifiedDate(key) {
376 let lastModified = new Date(0);
377 key.toPacketList().forEach(packet => {
378 if (packet.created && packet.created > lastModified) {
379 lastModified = packet.created;
380 }
381 });
382 return lastModified;
383}
384
385export function mapAddressKeyMapToFpr(addressKeyMap = []) {
386 for (const address in addressKeyMap) {

Callers 8

key-test.jsFile · 0.90
getKeyDataFunction · 0.90
getKeyByAddressFunction · 0.90
syncPublicKeysFunction · 0.90
lookupKeyFunction · 0.90
updateKeyMethod · 0.90
getKeyServerSyncMethod · 0.90
queryValidKeyMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected