Lines Matching refs:mkdirSync

66 // fs.mkdirSync creates directory with mode passed as an options object
70 fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ mode: 0o777 }));
75 // mkdirSync successfully creates directory from given path
79 fs.mkdirSync(pathname);
85 // mkdirSync and mkdir require path to be a string, buffer or url.
96 () => fs.mkdirSync(i),
108 fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true }));
119 fs.mkdirSync(pathname, { recursive: true });
121 fs.mkdirSync(pathname, { recursive: true });
131 fs.mkdirSync(pathname, { recursive: true });
141 fs.mkdirSync(path.dirname(pathname));
145 () => { fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true })); },
160 fs.mkdirSync(path.dirname(filename));
164 () => { fs.mkdirSync(pathname, { recursive: true }); },
190 fs.mkdirSync(path.dirname(pathname));
204 fs.mkdirSync(path.dirname(filename));
222 fs.mkdirSync(pathname);
226 () => { fs.mkdirSync('X', common.mustNotMutateObjectDeep({ recursive: true })); },
240 // mkdirSync and mkdir require options.recursive to be a boolean.
256 () => fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive })),
287 fs.mkdirSync(path.join(tmpdir.path, dir1));
301 fs.mkdirSync(path.join(tmpdir.path, dir1, dir2), common.mustNotMutateObjectDeep({ recursive: true }));
316 const p = fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true }));
327 fs.mkdirSync(path.join(tmpdir.path, dir1), common.mustNotMutateObjectDeep({ recursive: true }));
328 const p = fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true }));
339 fs.mkdirSync(path.join(tmpdir.path, dir1, dir2), common.mustNotMutateObjectDeep({ recursive: true }));
340 const p = fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true }));