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

Method chownSync

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

Source from the content-addressed store, hash-verified

502 }
503
504 chownSync(filePath, uid, gid) {
505 const providerPath = this.#toProviderPath(filePath);
506 this[kProvider].chownSync(providerPath, uid, gid);
507 }
508
509 utimesSync(filePath, atime, mtime) {
510 const providerPath = this.#toProviderPath(filePath);

Callers 9

chownSyncFunction · 0.45
createVfsHandlersFunction · 0.45
chownMethod · 0.45
lchownMethod · 0.45
fs-write.jsFile · 0.45

Calls 1

#toProviderPathMethod · 0.95

Tested by

no test coverage detected