MCPcopy Index your code
hub / github.com/nodejs/node / option

Function option

lib/internal/crypto/keys.js:392–395  ·  view source on GitHub ↗
(name, prefix)

Source from the content-addressed store, hash-verified

390}
391
392function option(name, prefix) {
393 return prefix === undefined ?
394 `options.${name}` : `${prefix}.${name}`;
395}
396
397function parseKeyFormatAndType(enc, keyType, isPublic, objName) {
398 const { format: formatStr, type: typeStr } = enc;

Callers 2

parseKeyFormatAndTypeFunction · 0.85
parseKeyEncodingFunction · 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…