MCPcopy Create free account
hub / github.com/mscdex/ssh2 / isParsedKey

Function isParsedKey

lib/protocol/keyParser.js:1410–1414  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

1408}
1409
1410function isParsedKey(val) {
1411 if (!val)
1412 return false;
1413 return (typeof val[SYM_DECRYPTED] === 'boolean');
1414}
1415
1416function parseKey(data, passphrase) {
1417 if (isParsedKey(data))

Callers 2

getIdentitiesReplyMethod · 0.85
parseKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…