Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mscdex/ssh2
/ chown
Method
chown
lib/protocol/SFTP.js:1184–1189 ·
view source on GitHub ↗
(path, uid, gid, cb)
Source
from the content-addressed store, hash-verified
1182
}, cb);
1183
}
1184
chown(path, uid, gid, cb) {
1185
return
this.setstat(path, {
1186
uid: uid,
1187
gid: gid
1188
}, cb);
1189
}
1190
fchmod(handle, mode, cb) {
1191
return
this.fsetstat(handle, {
1192
mode: mode
Callers
nothing calls this directly
Calls
1
setstat
Method · 0.95
Tested by
no test coverage detected