Lines Matching full:path
3 const path = require('path')
15 const lchownSync = (path, uid, gid) => {
17 return fs[LCHOWNSYNC](path, uid, gid)
25 const chownSync = (path, uid, gid) => {
27 return fs.chownSync(path, uid, gid)
36 needEISDIRHandled ? (path, uid, gid, cb) => er => {
43 fs.chown(path, uid, gid, cb)
49 needEISDIRHandled ? (path, uid, gid) => {
51 return lchownSync(path, uid, gid)
55 chownSync(path, uid, gid)
58 : (path, uid, gid) => lchownSync(path, uid, gid)
62 let readdir = (path, options, cb) => fs.readdir(path, options, cb)
63 let readdirSync = (path, options) => fs.readdirSync(path, options)
66 readdir = (path, options, cb) => fs.readdir(path, cb)
77 return fs.lstat(path.resolve(p, child), (er, stats) => {
86 chownr(path.resolve(p, child.name), uid, gid, er => {
89 const cpath = path.resolve(p, child.name)
93 const cpath = path.resolve(p, child.name)
130 const stats = fs.lstatSync(path.resolve(p, child))
142 chownrSync(path.resolve(p, child.name), uid, gid)
144 handleEISDirSync(path.resolve(p, child.name), uid, gid)