Home
last modified time | relevance | path

Searched refs:historyPath (Results 1 – 6 of 6) sorted by relevance

/third_party/node/lib/internal/repl/
Dhistory.js33 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/
Dtest-repl-persistent-history.js63 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());
Dtest-repl-programmatic-history.js61 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/
Drepl.md541 ### `replServer.setupHistory(historyPath, callback)`
546 * `historyPath` {string} the path to the history file
/third_party/node/doc/changelogs/
DCHANGELOG_V5.md978 …tps://github.com/nodejs/node/commit/da550aa063)] - **repl**: make sure historyPath is trimmed (Eva…
DCHANGELOG_V4.md2405 …tps://github.com/nodejs/node/commit/26f02405d0)] - **repl**: make sure historyPath is trimmed (Eva…