Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ chown
Method
chown
lib/internal/fs/promises.js:220–222 ·
view source on GitHub ↗
(uid, gid)
Source
from the content-addressed store, hash-verified
218
}
219
220
chown(uid, gid) {
221
return
fsCall(fchown, this, uid, gid);
222
}
223
224
datasync() {
225
return
fsCall(fdatasync, this);
Callers
15
chown
Function · 0.45
chownSync
Function · 0.45
chown
Function · 0.45
test-fs-chown-negative-one.js
File · 0.45
chown
Function · 0.45
test-vfs-fs-promises.js
File · 0.45
test-vfs-file-handle.js
File · 0.45
test-fs-error-messages.js
File · 0.45
doTest
Function · 0.45
test-vfs-virtual-file-handle.js
File · 0.45
test-vfs-fs-chmod-callback.js
File · 0.45
test-fs-chown-type-check.js
File · 0.45
Calls
1
fsCall
Function · 0.85
Tested by
no test coverage detected