MCPcopy Index your code
hub / github.com/nodejs/node / chown

Method chown

lib/internal/vfs/file_system.js:1230–1233  ·  view source on GitHub ↗
(filePath, uid, gid)

Source from the content-addressed store, hash-verified

1228 },
1229
1230 async chown(filePath, uid, gid) {
1231 const providerPath = toProviderPath(filePath);
1232 provider.chownSync(providerPath, uid, gid);
1233 },
1234
1235 async lchown(filePath, uid, gid) {
1236 const providerPath = toProviderPath(filePath);

Callers 1

createVfsHandlersFunction · 0.45

Calls 1

chownSyncMethod · 0.45

Tested by

no test coverage detected