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

Function vfsRead

lib/internal/vfs/setup.js:140–144  ·  view source on GitHub ↗
(path, syscall, fn)

Source from the content-addressed store, hash-verified

138}
139
140function vfsRead(path, syscall, fn) {
141 const pathStr = toPathStr(path);
142 if (pathStr === null) return undefined;
143 return findVFSWith(pathStr, syscall, fn);
144}
145
146function vfsOp(path, fn) {
147 const pathStr = toPathStr(path);

Callers 3

readdirSyncFunction · 0.85
statSyncFunction · 0.85
realpathSyncFunction · 0.85

Calls 2

toPathStrFunction · 0.85
findVFSWithFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…