Searched refs:historyPath (Results 1 – 6 of 6) sorted by relevance
/third_party/node/lib/internal/repl/ |
D | history.js | 33 function setupHistory(repl, historyPath, ready) { argument 35 if (typeof historyPath === 'string') 36 historyPath = StringPrototypeTrim(historyPath); 38 if (historyPath === '') { 43 if (!historyPath) { 45 historyPath = path.join(os.homedir(), '.node_repl_history'); 63 fs.open(historyPath, 'a+', 0o0600, oninit); 84 fs.readFile(historyPath, 'utf8', onread); 98 fs.open(historyPath, 'r+', onhandle);
|
/third_party/node/test/parallel/ |
D | test-repl-persistent-history.js | 63 const historyPath = path.join(tmpdir.path, '.fixture_copy_repl_history'); constant 91 env: { NODE_REPL_HISTORY: historyPath }, 123 env: { NODE_REPL_HISTORY: historyPath, 190 .pipe(fs.createWriteStream(historyPath)).on('unpipe', () => runTest());
|
D | test-repl-programmatic-history.js | 61 const historyPath = path.join(tmpdir.path, '.fixture_copy_repl_history'); constant 89 env: { NODE_REPL_HISTORY: historyPath }, 119 env: { NODE_REPL_HISTORY: historyPath, 186 .pipe(fs.createWriteStream(historyPath)).on('unpipe', () => runTest());
|
/third_party/node/doc/api/ |
D | repl.md | 541 ### `replServer.setupHistory(historyPath, callback)` 546 * `historyPath` {string} the path to the history file
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V5.md | 978 …tps://github.com/nodejs/node/commit/da550aa063)] - **repl**: make sure historyPath is trimmed (Eva…
|
D | CHANGELOG_V4.md | 2405 …tps://github.com/nodejs/node/commit/26f02405d0)] - **repl**: make sure historyPath is trimmed (Eva…
|