• Home
  • Raw
  • Download

Lines Matching refs:nonexistentFile

34 const nonexistentFile = path.join(tmpdir.path, 'non-existent');  constant
72 assert.strictEqual(nonexistentFile, err.path);
75 `ENOENT: no such file or directory, stat '${nonexistentFile}'`);
82 fs.stat(nonexistentFile, common.mustCall(validateError));
85 () => fs.statSync(nonexistentFile),
93 assert.strictEqual(nonexistentFile, err.path);
96 `ENOENT: no such file or directory, lstat '${nonexistentFile}'`);
103 fs.lstat(nonexistentFile, common.mustCall(validateError));
105 () => fs.lstatSync(nonexistentFile),
133 assert.strictEqual(nonexistentFile, err.path);
136 `ENOENT: no such file or directory, lstat '${nonexistentFile}'`);
143 fs.realpath(nonexistentFile, common.mustCall(validateError));
146 () => fs.realpathSync(nonexistentFile),
154 assert.strictEqual(nonexistentFile, err.path);
157 `ENOENT: no such file or directory, realpath '${nonexistentFile}'`);
164 fs.realpath.native(nonexistentFile, common.mustCall(validateError));
167 () => fs.realpathSync.native(nonexistentFile),
175 assert.strictEqual(nonexistentFile, err.path);
178 `ENOENT: no such file or directory, readlink '${nonexistentFile}'`);
185 fs.readlink(nonexistentFile, common.mustCall(validateError));
188 () => fs.readlinkSync(nonexistentFile),
196 assert.strictEqual(nonexistentFile, err.path);
201 re`'${nonexistentFile}' -> ` + '\'.*foo\'');
209 fs.link(nonexistentFile, 'foo', common.mustCall(validateError));
212 () => fs.linkSync(nonexistentFile, 'foo'),
266 assert.strictEqual(nonexistentFile, err.path);
269 `ENOENT: no such file or directory, unlink '${nonexistentFile}'`);
276 fs.unlink(nonexistentFile, common.mustCall(validateError));
279 () => fs.unlinkSync(nonexistentFile),
287 assert.strictEqual(nonexistentFile, err.path);
292 re`'${nonexistentFile}' -> ` + '\'.*foo\'');
301 fs.rename(nonexistentFile, destFile, common.mustCall(validateError));
304 () => fs.renameSync(nonexistentFile, destFile),
355 assert.strictEqual(nonexistentFile, err.path);
358 `ENOENT: no such file or directory, rmdir '${nonexistentFile}'`);
365 fs.rmdir(nonexistentFile, common.mustCall(validateError));
368 () => fs.rmdirSync(nonexistentFile),
425 assert.strictEqual(nonexistentFile, err.path);
428 `ENOENT: no such file or directory, chmod '${nonexistentFile}'`);
435 fs.chmod(nonexistentFile, 0o666, common.mustCall(validateError));
438 () => fs.chmodSync(nonexistentFile, 0o666),
446 assert.strictEqual(nonexistentFile, err.path);
449 `ENOENT: no such file or directory, open '${nonexistentFile}'`);
456 fs.open(nonexistentFile, 'r', 0o666, common.mustCall(validateError));
459 () => fs.openSync(nonexistentFile, 'r', 0o666),
488 assert.strictEqual(nonexistentFile, err.path);
491 `ENOENT: no such file or directory, open '${nonexistentFile}'`);
498 fs.readFile(nonexistentFile, common.mustCall(validateError));
501 () => fs.readFileSync(nonexistentFile),
509 assert.strictEqual(nonexistentFile, err.path);
512 `ENOENT: no such file or directory, scandir '${nonexistentFile}'`);
519 fs.readdir(nonexistentFile, common.mustCall(validateError));
522 () => fs.readdirSync(nonexistentFile),
596 assert.strictEqual(nonexistentFile, err.path);
599 `ENOENT: no such file or directory, chown '${nonexistentFile}'`);
606 fs.chown(nonexistentFile, process.getuid(), process.getgid(),
610 () => fs.chownSync(nonexistentFile,
619 assert.strictEqual(nonexistentFile, err.path);
622 `ENOENT: no such file or directory, utime '${nonexistentFile}'`);
629 fs.utimes(nonexistentFile, new Date(), new Date(),
633 () => fs.utimesSync(nonexistentFile, new Date(), new Date()),
669 () => fs.copyFile(existingFile, nonexistentFile, -1, () => {}),
673 () => fs.copyFileSync(existingFile, nonexistentFile, -1),
713 `'${nonexistentFile}' -> '${existingFile2}'`);
720 fs.copyFile(nonexistentFile, existingFile2, COPYFILE_EXCL,
724 () => fs.copyFileSync(nonexistentFile, existingFile2, COPYFILE_EXCL),