MCPcopy Create free account
hub / github.com/mscdex/ssh2 / fchown

Method fchown

lib/protocol/SFTP.js:1178–1183  ·  view source on GitHub ↗
(handle, uid, gid, cb)

Source from the content-addressed store, hash-verified

1176 }, cb);
1177 }
1178 fchown(handle, uid, gid, cb) {
1179 return this.fsetstat(handle, {
1180 uid: uid,
1181 gid: gid
1182 }, cb);
1183 }
1184 chown(path, uid, gid, cb) {
1185 return this.setstat(path, {
1186 uid: uid,

Callers

nothing calls this directly

Calls 1

fsetstatMethod · 0.95

Tested by

no test coverage detected