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

Function reverseSearch

lib/internal/repl/utils.js:527–527  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525 // Simple terminals can't use reverse search.
526 if (process.env.TERM === 'dumb') {
527 return { reverseSearch() { return false; } };
528 }
529
530 const alreadyMatched = new SafeSet();

Callers 1

constructorMethod · 0.85

Calls 5

checkAndSetDirectionKeyFunction · 0.85
getPromptMethod · 0.80
printFunction · 0.70
searchFunction · 0.70
resetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…