Lines Matching full:path
21 const path = require('path');
42 // Synchronous API should return an EACCESS error with path populated.
44 const dir = path.join(tmpdir.path, `mkdirp_${n++}`);
49 fs.mkdirSync(path.join(dir, '/foo'), { recursive: true });
56 assert(err.path);
59 // Asynchronous API should return an EACCESS error with path populated.
61 const dir = path.join(tmpdir.path, `mkdirp_${n++}`);
64 fs.mkdir(path.join(dir, '/bar'), { recursive: true }, (err) => {
68 assert(err.path);