Lines Matching refs:dest
98 async function getHandle(dest) {
99 await copyFile(fixtures.path('baz.js'), dest);
100 await access(dest);
102 return open(dest, 'r+');
105 async function executeOnHandle(dest, func) {
108 handle = await getHandle(dest);
121 const dest = path.resolve(tmpDir, 'baz.js');
125 await executeOnHandle(dest, async (handle) => {
132 await executeOnHandle(dest, async (handle) => {
143 stats = await stat(dest);
156 const statFs = await statfs(dest);
162 const statFs = await statfs(dest, { bigint: true });
168 const dest = path.resolve(tmpDir, 'test1.js');
169 await executeOnHandle(dest, async (handle) => {
176 await unlink(dest);
182 await executeOnHandle(dest, async (handle) => {
190 await executeOnHandle(dest, async (handle) => {
202 await executeOnHandle(dest, async (handle) => {
209 await truncate(dest, 5);
210 assert.strictEqual((await readFile(dest)).toString(), 'hello');
216 await executeOnHandle(dest, async (handle) => {
217 await chmod(dest, 0o666);
220 await chmod(dest, (0o10777));
224 await chown(dest, process.getuid(), process.getgid());
230 await chown(dest, 1, -2);
254 await executeOnHandle(dest, async (handle) => {
256 await utimes(dest, new Date(), new Date());
277 await lutimes(dest, a_time, m_time);
278 const stats = await stat(dest);
287 await rename(dest, newPath);
475 await executeOnHandle(dest, async (handle) => {
491 await executeOnHandle(dest, async (handle) => {