Home
last modified time | relevance | path

Searched refs:existingDir (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/test/tap/
Dcheck-permissions.js13 var existingDir = path.resolve(testBase, 'exists') variable
63 fs.mkdirSync(existingDir)
70 exists(existingDir, function (er) {
/third_party/node/test/parallel/
Dtest-fs-error-messages.js38 const existingDir = path.join(tmpdir.path, 'dir'); constant
40 fs.mkdirSync(existingDir);
314 assert.strictEqual(existingDir, err.path);
321 `ENOTEMPTY: directory not empty, rename '${existingDir}' -> ` +
327 `EXDEV: cross-device link not permitted, rename '${existingDir}' -> ` +
332 `EEXIST: file already exists, rename '${existingDir}' -> ` +
338 `EPERM: operation not permitted, rename '${existingDir}' -> ` +
346 fs.rename(existingDir, existingDir2, common.mustCall(validateError));
349 () => fs.renameSync(existingDir, existingDir2),