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

Method lchown

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

Source from the content-addressed store, hash-verified

1233 },
1234
1235 async lchown(filePath, uid, gid) {
1236 const providerPath = toProviderPath(filePath);
1237 provider.chownSync(providerPath, uid, gid);
1238 },
1239
1240 async utimes(filePath, atime, mtime) {
1241 const providerPath = toProviderPath(filePath);

Callers 10

lchownFunction · 0.80
lchownSyncFunction · 0.80
createVfsHandlersFunction · 0.80
lchownFunction · 0.80
lchownFunction · 0.80
test-fs-lchown.jsFile · 0.80
fs-write.jsFile · 0.80

Calls 1

chownSyncMethod · 0.45

Tested by

no test coverage detected